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:
Lluís Batlle i Rossell 2010-02-09 07:43:36 +00:00
parent 3d841892a7
commit 61417a05c7

View file

@ -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