aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 66b9098a3..af531b50d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -213,8 +213,7 @@
name = "nix-tarball";
version = builtins.readFile ./.version;
versionSuffix = if officialRelease then "" else
- "pre${builtins.substring 0 8 self.lastModified}" +
- (if self ? shortRev then "_${self.shortRev}" else "");
+ "pre${builtins.substring 0 8 self.lastModified}_${self.shortRev or "dirty"}";
src = self;
inherit officialRelease;