forked from mirrors/nixpkgs
Making the cross-stdenv not to be used unless cross-compiling. This way,
no "hostDrv" or "buildDrv" attributes are added to derivations. svn path=/nixpkgs/trunk/; revision=19866
This commit is contained in:
parent
2bbb78ab94
commit
ef43e6fc18
|
@ -193,7 +193,10 @@ let
|
|||
stdenv = stdenvCross;
|
||||
overrideSetup = overrideSetup;
|
||||
}
|
||||
else stdenvCross;
|
||||
else if crossSystem != null then
|
||||
stdenvCross
|
||||
else
|
||||
defaultStdenv;
|
||||
|
||||
forceBuildDrv = drv : drv // { hostDrv = drv.buildDrv; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue