aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-03 18:59:29 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-03 18:59:29 +0100
commitfa467de0902ff9efa9b4b084a77e7f3752f7eac0 (patch)
tree22faaf5e24481665b2b9c11f8f8efb72cf72b35d /flake.nix
parent0a4e911cf478d0d38082a8840a5acc8f57d00086 (diff)
Update flake.lock
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;