diff --git a/nixos/modules/security/grsecurity.nix b/nixos/modules/security/grsecurity.nix index 8fbeeb9ba610..f4af04247fe9 100644 --- a/nixos/modules/security/grsecurity.nix +++ b/nixos/modules/security/grsecurity.nix @@ -7,7 +7,10 @@ let customGrsecPkg = (import ../../../pkgs/build-support/grsecurity - { grsecOptions = cfg; } + { + inherit lib pkgs; + grsecOptions = cfg; + } ).grsecPackage; in {