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:
parent
4023ae4cdf
commit
a9ceeeb4b0
2 changed files with 19 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue