diff options
author | Atemu <atemu.main@gmail.com> | 2021-01-18 10:45:22 +0100 |
---|---|---|
committer | Atemu <atemu.main@gmail.com> | 2021-01-18 10:49:16 +0100 |
commit | 4a0070fc9f4f008fed843818dfb3c2db10c54e0c (patch) | |
tree | 8aa3065a6be9d3af95dc9f925621f5258c281dca /pkgs/os-specific/linux/kernel/linux-zen.nix | |
parent | 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0 (diff) |
zen-kernels: refactor suffix
Changing it required modifications in multiple places which is error-prone
Diffstat (limited to 'pkgs/os-specific/linux/kernel/linux-zen.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-zen.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-zen.nix b/pkgs/os-specific/linux/kernel/linux-zen.nix index 118272d28762f..6409e90ea32ff 100644 --- a/pkgs/os-specific/linux/kernel/linux-zen.nix +++ b/pkgs/os-specific/linux/kernel/linux-zen.nix @@ -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"; }; |