nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix

19 lines
519 B
Nix
Raw Normal View History

2017-06-28 22:32:25 +02:00
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
2016-12-12 01:33:05 +01:00
import ./generic.nix (args // rec {
2017-09-10 18:11:20 +02:00
version = "4.9.49";
2016-12-12 01:33:05 +01:00
extraMeta.branch = "4.9";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
2017-09-10 18:11:20 +02:00
sha256 = "1ywiww2h1gf3ps305irzk7n9xkcgg9bclr2jw6r5cqxmh3qxrv2p";
2016-12-12 01:33:05 +01:00
};
kernelPatches = args.kernelPatches;
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))