mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
GNU MIG: Force a 32-bit build.
svn path=/nixpkgs/trunk/; revision=27493
This commit is contained in:
parent
a1cd10cfe2
commit
7aa65babe8
1 changed files with 14 additions and 1 deletions
|
@ -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