mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
GNU MIG: Force a 32-bit build.
svn path=/nixpkgs/trunk/; revision=27493
This commit is contained in:
parent
a1cd10cfe2
commit
7aa65babe8
|
@ -2729,7 +2729,20 @@ let
|
|||
|
||||
ltrace = callPackage ../development/tools/misc/ltrace { };
|
||||
|
||||
mig = callPackage ../os-specific/gnu/mig { };
|
||||
mig = callPackage ../os-specific/gnu/mig
|
||||
(if stdenv.isLinux
|
||||
then {
|
||||
# Build natively, but force use of a 32-bit environment because we're
|
||||
# targeting `i586-pc-gnu'.
|
||||
stdenv = (import ../stdenv {
|
||||
system = "i686-linux";
|
||||
stdenvType = "i686-linux";
|
||||
allPackages = args:
|
||||
import ./all-packages.nix ({ inherit config; } // args);
|
||||
inherit platform;
|
||||
}).stdenv;
|
||||
}
|
||||
else { });
|
||||
|
||||
mk = callPackage ../development/tools/build-managers/mk { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue