nixpkgs/pkgs/os-specific/linux/kernel/linux-hardened-copperhead.nix

28 lines
664 B
Nix
Raw Normal View History

2017-06-28 13:32:25 -07:00
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
let
2017-07-22 16:08:02 -07:00
version = "4.12.3";
2017-07-13 05:40:08 -07:00
revision = "a";
2017-07-22 16:08:02 -07:00
sha256 = "0nxzpkh2ca47g6qykkfhf8qynpx3kr9vdkm9wixky159zxfj6s85";
in
import ./generic.nix (args // {
version = "${version}-${revision}";
2017-07-06 08:42:20 -07:00
extraMeta.branch = "4.12";
2017-07-13 05:54:34 -07:00
modDirVersion = "${version}";
src = fetchFromGitHub {
inherit sha256;
owner = "copperhead";
repo = "linux-hardened";
rev = "${version}.${revision}";
};
kernelPatches = args.kernelPatches;
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))