From 1915f6908ab17bf37b8aa1cf33eef55f9fac69ce Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 27 Nov 2016 21:40:03 +0100 Subject: [PATCH] linux_grsec_nixos: use the "modinst arg list too long" patch An alternative to e38b74ba89d3d03e01ee751131d2a6dc316ac33a; see f19c961b4e461da045f2e72e73701059e5117be0 for details --- pkgs/top-level/all-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6f7808b9b2a..bd390e1d245 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11199,8 +11199,10 @@ in linux_grsec_nixos = callPackage ../build-support/grsecurity { inherit (lib) overrideDerivation; kernel = callPackage ../os-specific/linux/kernel/linux-grsecurity.nix { - kernelPatches = with self.kernelPatches; [ bridge_stp_helper ] - ++ lib.optionals ((platform.kernelArch or null) == "mips") + kernelPatches = with self.kernelPatches; [ + bridge_stp_helper + modinst_arg_list_too_long + ] ++ lib.optionals ((platform.kernelArch or null) == "mips") [ kernelPatches.mips_fpureg_emu kernelPatches.mips_fpu_sigill kernelPatches.mips_ext3_n32