forceSystem: Inherit crossSystem' and platform'.

svn path=/nixpkgs/trunk/; revision=33119
This commit is contained in:
Ludovic Courtès 2012-03-15 20:27:41 +00:00
parent 5d066bdbce
commit eaab66d11a

View File

@ -142,7 +142,8 @@ let
# Override system. This is useful to build i686 packages on x86_64-linux.
forceSystem = system: (import ./all-packages.nix) {
inherit system;
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config;
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config
crossSystem platform;
};