diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5143e4a319d..ec07f90dbad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10761,12 +10761,7 @@ in # grsecurity configuration grsecurity_base_linux_4_5 = callPackage ../os-specific/linux/kernel/linux-grsecurity-4.5.nix { - kernelPatches = [ kernelPatches.bridge_stp_helper ] - ++ lib.optionals ((platform.kernelArch or null) == "mips") - [ kernelPatches.mips_fpureg_emu - kernelPatches.mips_fpu_sigill - kernelPatches.mips_ext3_n32 - ]; + inherit (linux_4_5) kernelPatches; }; grFlavors = import ../build-support/grsecurity/flavors.nix;