@@ -27,7 +27,9 @@ with pkgs;
2727 # Used by wine, firefox with debugging version of Flash, ...
2828 pkgsi686Linux = forceSystem "i686-linux" "i386";
2929
30− callPackage_i686 = pkgsi686Linux.callPackage;
30+ callPackage_i686 = if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
31+ then pkgsi686Linux.callPackage
32+ else throw "callPackage_i686 not supported on system '${stdenv.system}'";
3133
3234 # A stdenv capable of building 32-bit binaries. On x86_64-linux,
3335 # it uses GCC compiled with multilib support; on i686-linux, it's