version -> .version, avoid conflict with C++20 <version>

This commit is contained in:
Will Dietz 2019-03-14 09:55:30 -05:00 committed by Eelco Dolstra
parent 6f0359012c
commit 0bebca402a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 1 additions and 1 deletions

View file

View file

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