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

19 lines
519 B
Nix
Raw Normal View History

2017-06-28 21:32:25 +01:00
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
2016-12-12 00:33:05 +00:00
import ./generic.nix (args // rec {
2017-07-13 13:30:47 +01:00
version = "4.9.37";
2016-12-12 00:33:05 +00:00
extraMeta.branch = "4.9";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
2017-07-13 13:30:47 +01:00
sha256 = "14300vddyz7x6vg1mx64a0i8i61fk5bl8azcvv7rf3b97c4cy7pn";
2016-12-12 00:33:05 +00:00
};
kernelPatches = args.kernelPatches;
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))