1
0
Fork 1
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:
Rob Vermaas 2013-01-15 15:03:38 +01:00
parent 76d8b3a530
commit a049615e91

View file

@ -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: