Updating myEnv for the new crossCompiling stdenv, so it puts in the environment buildNativeInputs

and not builtInputs.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19078
This commit is contained in:
Lluís Batlle i Rossell 2009-12-22 11:49:20 +00:00
parent 3e10ba6bb9
commit bed103ef53

View File

@ -62,7 +62,7 @@ mkDerivation {
-e 's@trap.*@@' \ -e 's@trap.*@@' \
-i "$s" -i "$s"
cat >> "$out/dev-envs/''${name/env-/}" << EOF cat >> "$out/dev-envs/''${name/env-/}" << EOF
buildInputs="$buildInputs" buildInputs="$buildNativeInputs"
# the setup-new script wants to write some data to a temp file.. so just let it do that and tidy up afterwards # the setup-new script wants to write some data to a temp file.. so just let it do that and tidy up afterwards
tmp="\$("${pkgs.coreutils}/bin/mktemp" -d)" tmp="\$("${pkgs.coreutils}/bin/mktemp" -d)"
NIX_BUILD_TOP="\$tmp" NIX_BUILD_TOP="\$tmp"