3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/kernel/linux-4.2.nix

21 lines
660 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
2015-08-31 02:20:19 +01:00
import ./generic.nix (args // rec {
2015-11-11 00:16:44 +00:00
version = "4.2.6";
2015-10-15 18:41:00 +01:00
# Remember to update grsecurity!
2015-08-31 02:20:19 +01:00
extraMeta.branch = "4.2";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
2015-11-11 00:16:44 +00:00
sha256 = "0p7v6v3v9kn7w5iragi5hx0dylhis0jy6xmk77gka486q1ynpnqp";
2015-08-31 02:20:19 +01:00
};
kernelPatches = args.kernelPatches ++ [ { name = "cve-2016-0728"; patch = ./cve-2016-0728.patch; } ];
2015-08-31 02:20:19 +01:00
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.canDisableNetfilterConntrackHelpers = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))