3
0
Fork 0
forked from mirrors/nixpkgs

releaseTools.sourceTarball: Make the bootstrap build inputs native.

svn path=/nixpkgs/trunk/; revision=21955
This commit is contained in:
Ludovic Courtès 2010-05-24 21:28:36 +00:00
parent e1f009b9df
commit 0146e9b7ab

View file

@ -4,6 +4,7 @@
{ officialRelease ? false
, buildInputs ? []
, buildNativeInputs ? []
, name ? "source-tarball"
, version ? "0"
, src, stdenv, autoconf, automake, libtool
@ -77,8 +78,8 @@ stdenv.mkDerivation (
{
name = name + "-" + version + versionSuffix;
buildInputs = buildInputs ++ bootstrapBuildInputs;
buildNativeInputs = bootstrapBuildInputs ++ buildNativeInputs;
postHook = ''
ensureDir $out/nix-support
'';