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;
|
stdenv = stdenvCross;
|
||||||
overrideSetup = overrideSetup;
|
overrideSetup = overrideSetup;
|
||||||
}
|
}
|
||||||
else stdenvCross;
|
else if crossSystem != null then
|
||||||
|
stdenvCross
|
||||||
|
else
|
||||||
|
defaultStdenv;
|
||||||
|
|
||||||
forceBuildDrv = drv : drv // { hostDrv = drv.buildDrv; };
|
forceBuildDrv = drv : drv // { hostDrv = drv.buildDrv; };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user