We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26e6068 commit d6c6f2aCopy full SHA for d6c6f2a
release.nix
@@ -14,7 +14,7 @@ let
14
tarball =
15
pkgs.releaseTools.sourceTarball rec {
16
name = "patchelf-tarball";
17
- version = builtins.readFile ./version + (if officialRelease then "" else "pre${toString patchelfSrc.revCount}_${patchelfSrc.shortRev}");
+ version = builtins.readFile ./version + (if officialRelease then "" else "pre${toString patchelfSrc.revCount or 0}_${patchelfSrc.shortRev or "0000000"}");
18
versionSuffix = ""; # obsolete
19
src = patchelfSrc;
20
preAutoconf = "echo ${version} > version";
0 commit comments