* Allow versionSuffix to be overriden.
svn path=/nixpkgs/trunk/; revision=30742
This commit is contained in:
parent
f1f9a16fa8
commit
b583b816cc
|
@ -6,16 +6,15 @@
|
||||||
, buildInputs ? []
|
, buildInputs ? []
|
||||||
, name ? "source-tarball"
|
, name ? "source-tarball"
|
||||||
, version ? "0"
|
, version ? "0"
|
||||||
|
, versionSuffix ?
|
||||||
|
if officialRelease
|
||||||
|
then ""
|
||||||
|
else if src ? rev then "pre${toString src.rev}" else ""
|
||||||
, src, stdenv, autoconf, automake, libtool
|
, src, stdenv, autoconf, automake, libtool
|
||||||
, ... } @ args:
|
, ... } @ args:
|
||||||
|
|
||||||
let
|
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.
|
# By default, provide all the GNU Build System as input.
|
||||||
bootstrapBuildInputs =
|
bootstrapBuildInputs =
|
||||||
if (args ? bootstrapBuildInputs)
|
if (args ? bootstrapBuildInputs)
|
||||||
|
|
Loading…
Reference in New Issue