mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
19 lines
520 B
Nix
19 lines
520 B
Nix
{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
|
|
|
import ./generic.nix (args // rec {
|
|
version = "4.12.7";
|
|
extraMeta.branch = "4.12";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
sha256 = "14xyh5wyvp4pmvw4mz9lccw1ijshm7500ijmxzhc9ipjnmp5rhky";
|
|
};
|
|
|
|
kernelPatches = args.kernelPatches;
|
|
|
|
features.iwlwifi = true;
|
|
features.efiBootStub = true;
|
|
features.needsCifsUtils = true;
|
|
features.netfilterRPFilter = true;
|
|
} // (args.argsOverride or {}))
|