1{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
2
3throw "grsecurity stable is no longer supported; please update your configuration"
4
5import ./generic.nix (args // rec {
6 version = "4.4.5";
7 extraMeta.branch = "4.4";
8
9 src = fetchurl {
10 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
11 sha256 = "1daavrj2msl85aijh1izfm1cwf14c7mi75hldzidr1h2v629l89h";
12 };
13
14 kernelPatches = args.kernelPatches;
15
16 features.iwlwifi = true;
17 features.efiBootStub = true;
18 features.needsCifsUtils = true;
19 features.canDisableNetfilterConntrackHelpers = true;
20 features.netfilterRPFilter = true;
21} // (args.argsOverride or {}))