summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-11-21 15:24:26 -0500
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-21 20:28:08 +0000
commit2b8994b9dd03313a83e8591f8ddb602afb817a08 (patch)
tree09e4977fb31eeff4f9bcac4aecc9940dbe49bb21 /nixos
parentdbdd427efbb2e2223e23a40c86a207e8a875f926 (diff)
nixos/release: fix versionSuffix eval
(cherry picked from commit 625c450024e24c55cac035372bc49b39f8df005b)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/release.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index eb8435b69cb9d..a1b4508ca40b6 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -12,7 +12,7 @@ let
 
   version = fileContents ../.version;
   versionSuffix =
-    (if stableBranch then "." else "beta") + "${toString nixpkgs.revCount - 551362}.${nixpkgs.shortRev}";
+    (if stableBranch then "." else "beta") + "${toString (nixpkgs.revCount - 551362)}.${nixpkgs.shortRev}";
 
   # Run the tests for each platform.  You can run a test by doing
   # e.g. ‘nix-build release.nix -A tests.login.x86_64-linux’,