1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-09 22:14:06 +00:00
nixpkgs/pkgs/os-specific/linux/kernel/linux-4.9.nix

20 lines
559 B
Nix
Raw Normal View History

2016-12-12 00:33:05 +00:00
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
2017-01-17 11:02:07 +00:00
version = "4.9.4";
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-01-17 11:02:07 +00:00
sha256 = "1160rs35w58cwynq2pcdjxvxgc5lkhy4ydh00hylsnmi9jvazpcv";
2016-12-12 00:33:05 +00:00
};
kernelPatches = args.kernelPatches;
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.canDisableNetfilterConntrackHelpers = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))