summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-04-02 18:39:41 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-04-02 18:39:41 +0200
commitab47868639750010db01d7e846c9203bd7f00b2d (patch)
treee0b21fb83fbbbf2b212ff96c2c49f6b42ced09d0 /flake.nix
parent6d6467d376ff8ccc758c9fce1fe6d9b658956598 (diff)
Change lastModified to the number of seconds in the epoch
'lastModifiedDate' is now a string representing the equivalent date/time.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index f0e669f63..d954bd29d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,7 +13,7 @@
versionSuffix =
if officialRelease
then ""
- else "pre${builtins.substring 0 8 self.lastModified}_${self.shortRev or "dirty"}";
+ else "pre${builtins.substring 0 8 self.lastModifiedDate}_${self.shortRev or "dirty"}";
officialRelease = false;