releaseTools.sourceTarball: Allow overriding of the bootstrap build inputs.
svn path=/nixpkgs/trunk/; revision=18804
This commit is contained in:
parent
ec6f4788bb
commit
064aae6461
@ -16,6 +16,12 @@ let
|
|||||||
then ""
|
then ""
|
||||||
else if src ? rev then "pre${toString src.rev}" else "";
|
else if src ? rev then "pre${toString src.rev}" else "";
|
||||||
|
|
||||||
|
# By default, provide all the GNU Build System as input.
|
||||||
|
bootstrapBuildInputs =
|
||||||
|
if (args ? bootstrapBuildInputs)
|
||||||
|
then args.bootstrapBuildInputs
|
||||||
|
else [ autoconf automake libtool ];
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation (
|
stdenv.mkDerivation (
|
||||||
@ -71,7 +77,7 @@ stdenv.mkDerivation (
|
|||||||
{
|
{
|
||||||
name = name + "-" + version + versionSuffix;
|
name = name + "-" + version + versionSuffix;
|
||||||
|
|
||||||
buildInputs = buildInputs ++ [autoconf automake libtool];
|
buildInputs = buildInputs ++ bootstrapBuildInputs;
|
||||||
|
|
||||||
postHook = ''
|
postHook = ''
|
||||||
ensureDir $out/nix-support
|
ensureDir $out/nix-support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user