1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

Add a flake.nix

This commit is contained in:
Eelco Dolstra 2019-04-08 17:28:05 +02:00
parent 4023ae4cdf
commit a9ceeeb4b0
2 changed files with 19 additions and 1 deletions

View file

@ -19,7 +19,7 @@ let
releaseTools.sourceTarball {
name = "nix-tarball";
version = builtins.readFile ./.version;
versionSuffix = if officialRelease then "" else "pre${toString nix.revCount}_${nix.shortRev}";
versionSuffix = if officialRelease then "" else "pre${toString nix.revCount or 0}_${nix.shortRev or "0000000"}";
src = nix;
inherit officialRelease;