mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
* Set a flag to indicate whether we're doing a native build.
svn path=/nixpkgs/trunk/; revision=821
This commit is contained in:
parent
e8d2b1cc36
commit
5c5db47443
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user