mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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 a new issue