mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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 New Issue
Block a user