mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
pkgsi686Linux: Use 32b kernels (x86_64 kernels can't be built with 32b gcc).
This commit is contained in:
parent
f5d0d8dbf1
commit
bde992bbbc
@ -153,15 +153,16 @@ let
|
||||
|
||||
|
||||
# Override system. This is useful to build i686 packages on x86_64-linux.
|
||||
forceSystem = system: (import ./all-packages.nix) {
|
||||
forceSystem = system: kernel: (import ./all-packages.nix) {
|
||||
inherit system;
|
||||
platform = platform // { kernelArch = kernel; };
|
||||
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config
|
||||
crossSystem platform;
|
||||
crossSystem;
|
||||
};
|
||||
|
||||
|
||||
# Used by wine, firefox with debugging version of Flash, ...
|
||||
pkgsi686Linux = forceSystem "i686-linux";
|
||||
pkgsi686Linux = forceSystem "i686-linux" "i386";
|
||||
|
||||
callPackage_i686 = lib.callPackageWith (pkgsi686Linux // pkgsi686Linux.xorg);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user