* Set a flag to indicate whether we're doing a native build.

svn path=/nixpkgs/trunk/; revision=821
This commit is contained in:
Eelco Dolstra 2004-03-09 10:36:45 +00:00
parent e8d2b1cc36
commit 5c5db47443

View File

@ -10,7 +10,8 @@ addCVars () {
envHooks=(${envHooks[@]} addCVars)
if test -z "@isNative@"; then
export NIX_IS_NATIVE=@isNative@
if test -z "$NIX_IS_NATIVE"; then
PATH=$PATH:@gcc@/bin:@glibc@/bin
fi