summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-05-16 11:56:39 -0400
committerShea Levy <shea@shealevy.com>2016-05-16 11:56:39 -0400
commit0373eb86f17cada1454d698a750345f7b6c522e9 (patch)
tree0a35d017e7a62987f2a0ed963eb4c7266ec49701 /pkgs/os-specific
parenta5fa7c25cbf34c6b389c4593330d842502c4c0b0 (diff)
Linux 4.6
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/linux-4.6.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-4.6.nix b/pkgs/os-specific/linux/kernel/linux-4.6.nix
new file mode 100644
index 000000000000..4527c8a56fd0
--- /dev/null
+++ b/pkgs/os-specific/linux/kernel/linux-4.6.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
+
+import ./generic.nix (args // rec {
+ version = "4.6";
+ modDirVersion = "4.6.0";
+ extraMeta.branch = "4.5";
+
+ src = fetchurl {
+ url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
+ sha256 = "a93771cd5a8ad27798f22e9240538dfea48d3a2bf2a6a6ab415de3f02d25d866";
+ };
+
+ kernelPatches = args.kernelPatches;
+
+ features.iwlwifi = true;
+ features.efiBootStub = true;
+ features.needsCifsUtils = true;
+ features.canDisableNetfilterConntrackHelpers = true;
+ features.netfilterRPFilter = true;
+} // (args.argsOverride or {}))