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

28 lines
664 B
Nix
Raw Normal View History

2017-06-28 20:32:25 +00:00
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
let
2017-07-15 23:44:12 +00:00
version = "4.12.2";
2017-07-13 12:40:08 +00:00
revision = "a";
2017-07-15 23:44:12 +00:00
sha256 = "0w3k5a30li2qz2msach9sg9qsvmjsc4mf9k3ad5dxd0667a0hygm";
in
import ./generic.nix (args // {
version = "${version}-${revision}";
2017-07-06 15:42:20 +00:00
extraMeta.branch = "4.12";
2017-07-13 12:54:34 +00: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 {}))