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
@ -198,7 +198,8 @@ let
|
|||||||
else
|
else
|
||||||
defaultStdenv;
|
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,
|
# A stdenv capable of building 32-bit binaries. On x86_64-linux,
|
||||||
# it uses GCC compiled with multilib support; on i686-linux, it's
|
# it uses GCC compiled with multilib support; on i686-linux, it's
|
||||||
|
Loading…
Reference in New Issue
Block a user