git.iko.soy/typeable/nixpkgs
on master help sign in
linux-copperhead: 4.12.10.a -> 4.13.a
commit967077537b42fffca3a81a3af3a228d1864fd61e authorTim Steinbach <tim@nequissimus.com> dateMon 4 Sep 2017, 11:09 (9 years ago) parentda3640e
1 file changed+15−5
pkgs/os-specific/linux/kernel/linux-hardened-copperhead.nix+15−5
pkgs/os-specific/linux/kernel/linux-hardened-copperhead.nix+15−5
@@ -1,15 +1,25 @@
11{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
22
3+with stdenv.lib;
4+
35let
4− version = "4.12.10";
6+ version = "4.13";
57 revision = "a";
6− sha256 = "00vm7bc4sfj2qj3yar9hy6qf8m2kmkxmxlf8q908jb1m541pfvpn";
7−in
8+ sha256 = "1d118yi40yqzfjxdwl00h7alp1z0qq7rk5q14w3hs281ig773aip";
9+
10+ # modVersion needs to be x.y.z, will automatically add .0 if needed
11+ modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
812
13+ # branchVersion needs to be x.y
14+ branchVersion = concatStrings (intersperse "." (take 2 (splitString "." version)));
15+
16+ modDirVersion = "${modVersion}-hardened";
17+in
918import ./generic.nix (args // {
19+ inherit modDirVersion;
20+
1021 version = "${version}-${revision}";
11− extraMeta.branch = "4.12";
12− modDirVersion = "${version}-hardened";
22+ extraMeta.branch = "${branchVersion}";
1323
1424 src = fetchFromGitHub {
1525 inherit sha256;