diff options
Diffstat (limited to 'pkgs/build-support/grsecurity/default.nix')
-rw-r--r-- | pkgs/build-support/grsecurity/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/build-support/grsecurity/default.nix b/pkgs/build-support/grsecurity/default.nix index 8713f2d22c4..1070d6f746d 100644 --- a/pkgs/build-support/grsecurity/default.nix +++ b/pkgs/build-support/grsecurity/default.nix @@ -20,8 +20,7 @@ assert (kernel.version == grsecPatch.kver); overrideDerivation (kernel.override { inherit modDirVersion; - kernelPatches = [ { inherit (grsecPatch) name patch; } ] ++ kernelPatches ++ (kernel.kernelPatches or []); - features = (kernel.features or {}) // { grsecurity = true; }; + kernelPatches = [ grsecPatch ] ++ kernelPatches ++ (kernel.kernelPatches or []); inherit extraConfig; ignoreConfigErrors = true; }) (attrs: { |