source-tarball.nix: try src.revCount when src.rev is not available.
This commit is contained in:
parent
76d8b3a530
commit
a049615e91
@ -9,7 +9,7 @@
|
||||
, versionSuffix ?
|
||||
if officialRelease
|
||||
then ""
|
||||
else if src ? rev then "pre${toString src.rev}" else ""
|
||||
else "pre${toString (src.rev or src.revCount or "")}"
|
||||
, src, stdenv, autoconf, automake, libtool
|
||||
, ... } @ args:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user