2015-04-13 01:17:53 +02:00
|
|
|
{ stdenv, fetchurl, ... } @ args:
|
|
|
|
|
|
|
|
import ./generic.nix (args // rec {
|
2015-06-30 20:17:51 +02:00
|
|
|
version = "4.0.7";
|
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-30 20:17:51 +02:00
|
|
|
sha256 = "01c68w6lygzjzllv7xgnd1hm3339rs0fvd8q26n6bdfa95aj554m";
|
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 {}))
|