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

28 lines
664 B
Nix
Raw Normal View History

2017-06-28 22:32:25 +02:00
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
let
2017-07-04 03:03:58 +02:00
version = "4.12";
2017-06-24 20:50:41 +02:00
revision = "a";
2017-07-04 03:03:58 +02:00
sha256 = "1vh104y40b7lkmgdbr0rd56i6qydinijfnnzn5aj5fi4n0n750v6";
in
import ./generic.nix (args // {
version = "${version}-${revision}";
2017-07-04 03:03:58 +02:00
extraMeta.branch = "4.12";
modDirVersion = "${version}.0";
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 {}))