2015-04-13 01:17:53 +02:00
|
|
|
{ stdenv, fetchurl, ... } @ args:
|
|
|
|
|
|
|
|
import ./generic.nix (args // rec {
|
2015-07-12 05:11:12 +02:00
|
|
|
version = "4.0.8";
|
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-07-12 05:11:12 +02:00
|
|
|
sha256 = "1cggqi5kdan818xw5g5wmapcsf501f5m9bympsy6a2cpphknfdmn";
|
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 {}))
|