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 ?
|
, versionSuffix ?
|
||||||
if officialRelease
|
if officialRelease
|
||||||
then ""
|
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
|
, src, stdenv, autoconf, automake, libtool
|
||||||
, ... } @ args:
|
, ... } @ args:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user