1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Change lastModified to the number of seconds in the epoch

'lastModifiedDate' is now a string representing the equivalent
date/time.
This commit is contained in:
Eelco Dolstra 2020-04-02 18:39:41 +02:00
parent 6d6467d376
commit ab47868639
2 changed files with 5 additions and 3 deletions

View file

@ -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;