{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { version = "4.12.11"; extraMeta.branch = "4.12"; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; sha256 = "015kyh0v9lkk4a6sa7ysddi7dm639z5p45v2sh2kswsih4sf7kxf"; }; kernelPatches = args.kernelPatches; features.iwlwifi = true; features.efiBootStub = true; features.needsCifsUtils = true; features.netfilterRPFilter = true; } // (args.argsOverride or {}))