2015-04-13 01:17:53 +02:00
|
|
|
{ stdenv, fetchurl, ... } @ args:
|
|
|
|
|
|
|
|
import ./generic.nix (args // rec {
|
2015-06-06 21:21:36 +02:00
|
|
|
version = "4.0.5";
|
2015-05-08 05:45:48 +02:00
|
|
|
# Remember to update grsecurity!
|
2015-04-13 01:17:53 +02:00
|
|
|
extraMeta.branch = "4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
2015-06-06 21:21:36 +02:00
|
|
|
sha256 = "1l9kxicadn980wrypi2qm3nx12g513acvryq58m7a0xjdf6ksjz2";
|
2015-04-13 01:17:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
features.iwlwifi = true;
|
|
|
|
features.efiBootStub = true;
|
|
|
|
features.needsCifsUtils = true;
|
|
|
|
features.canDisableNetfilterConntrackHelpers = true;
|
|
|
|
features.netfilterRPFilter = true;
|
|
|
|
} // (args.argsOverride or {}))
|