* Allow versionSuffix to be overriden.

svn path=/nixpkgs/trunk/; revision=30742
This commit is contained in:
Eelco Dolstra 2011-12-05 14:16:30 +00:00
parent f1f9a16fa8
commit b583b816cc

View file

@ -6,16 +6,15 @@
, buildInputs ? []
, name ? "source-tarball"
, version ? "0"
, versionSuffix ?
if officialRelease
then ""
else if src ? rev then "pre${toString src.rev}" else ""
, src, stdenv, autoconf, automake, libtool
, ... } @ args:
let
versionSuffix =
if officialRelease
then ""
else if src ? rev then "pre${toString src.rev}" else "";
# By default, provide all the GNU Build System as input.
bootstrapBuildInputs =
if (args ? bootstrapBuildInputs)