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

20 lines
560 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
2015-06-22 19:41:23 +00:00
import ./generic.nix (args // rec {
2016-10-26 13:04:37 +00:00
version = "4.1.35";
2015-06-22 19:41:23 +00:00
extraMeta.branch = "4.1";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
2016-10-26 13:04:37 +00:00
sha256 = "0jn09hs91d5fi6615v9fnbpggyh1x192q6faggpbb90q110g0jjl";
2015-06-22 19:41:23 +00:00
};
kernelPatches = args.kernelPatches;
2015-06-22 19:41:23 +00:00
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.canDisableNetfilterConntrackHelpers = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))