1{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
2
3import ./generic.nix (args // rec {
4 version = "4.9.46";
5 extraMeta.branch = "4.9";
6
7 src = fetchurl {
8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9 sha256 = "0arbm9l8pq7d6c1hr0c64p94qcxrxf4q4famvcm13273y3lr70r2";
10 };
11
12 kernelPatches = args.kernelPatches;
13
14 features.iwlwifi = true;
15 features.efiBootStub = true;
16 features.needsCifsUtils = true;
17 features.netfilterRPFilter = true;
18} // (args.argsOverride or {}))