linux-copperhead: 4.12.10.a -> 4.13.a
This commit is contained in:
parent
da3640ec56
commit
967077537b
|
@ -1,15 +1,25 @@
|
||||||
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
|
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
let
|
with stdenv.lib;
|
||||||
version = "4.12.10";
|
|
||||||
revision = "a";
|
|
||||||
sha256 = "00vm7bc4sfj2qj3yar9hy6qf8m2kmkxmxlf8q908jb1m541pfvpn";
|
|
||||||
in
|
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "4.13";
|
||||||
|
revision = "a";
|
||||||
|
sha256 = "1d118yi40yqzfjxdwl00h7alp1z0qq7rk5q14w3hs281ig773aip";
|
||||||
|
|
||||||
|
# modVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
|
modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
|
||||||
|
|
||||||
|
# branchVersion needs to be x.y
|
||||||
|
branchVersion = concatStrings (intersperse "." (take 2 (splitString "." version)));
|
||||||
|
|
||||||
|
modDirVersion = "${modVersion}-hardened";
|
||||||
|
in
|
||||||
import ./generic.nix (args // {
|
import ./generic.nix (args // {
|
||||||
|
inherit modDirVersion;
|
||||||
|
|
||||||
version = "${version}-${revision}";
|
version = "${version}-${revision}";
|
||||||
extraMeta.branch = "4.12";
|
extraMeta.branch = "${branchVersion}";
|
||||||
modDirVersion = "${version}-hardened";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
|
|
Loading…
Reference in New Issue