zen-kernels: refactor suffix

Changing it required modifications in multiple places which is error-prone
wip/yesman
Atemu 3 years ago
parent 68398d2dd5
commit 4a0070fc9f
  1. 5
      pkgs/os-specific/linux/kernel/linux-lqx.nix
  2. 5
      pkgs/os-specific/linux/kernel/linux-zen.nix

@ -2,17 +2,18 @@
let
version = "5.10.6";
suffix = "lqx1";
in
buildLinux (args // {
modDirVersion = "${version}-lqx1";
modDirVersion = "${version}-${suffix}";
inherit version;
isZen = true;
src = fetchFromGitHub {
owner = "zen-kernel";
repo = "zen-kernel";
rev = "v${version}-lqx1";
rev = "v${version}-${suffix}";
sha256 = "0vvb00311yhf08ib3yvkjwk2j45f8r268ywg5299yjgbyl6g95kg";
};

@ -2,17 +2,18 @@
let
version = "5.10.6";
suffix = "zen1";
in
buildLinux (args // {
modDirVersion = "${version}-zen1";
modDirVersion = "${version}-${suffix}";
inherit version;
isZen = true;
src = fetchFromGitHub {
owner = "zen-kernel";
repo = "zen-kernel";
rev = "v${version}-zen1";
rev = "v${version}-${suffix}";
sha256 = "0asn4ysnzv845g35ca9sdi89sc7clcc88xmx64pcxmh033civ5fw";
};

Loading…
Cancel
Save