Removing a dependency on stdenvCross: there was a .buildDrv mentioned when there was
no cross build planned. svn path=/nixpkgs/trunk/; revision=19871
This commit is contained in:
parent
3d841892a7
commit
61417a05c7
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ let
|
|||
else
|
||||
defaultStdenv;
|
||||
|
||||
forceBuildDrv = drv : drv // { hostDrv = drv.buildDrv; };
|
||||
forceBuildDrv = drv : if (crossSystem == null) then drv else
|
||||
(drv // { hostDrv = drv.buildDrv; });
|
||||
|
||||
# A stdenv capable of building 32-bit binaries. On x86_64-linux,
|
||||
# it uses GCC compiled with multilib support; on i686-linux, it's
|
||||
|
|
Loading…
Reference in a new issue