@@ -31,6 +31,11 @@ with pkgs;
3131 then pkgsi686Linux.callPackage
3232 else throw "callPackage_i686 not supported on system '${stdenv.system}'";
3333
34+ # Useful attribute of systems to cross compile to.
35+ pkgsCross = lib.mapAttrs (n: crossSystem:
36+ nixpkgsFun { inherit crossSystem; })
37+ lib.systems.examples;
38+
3439 # A stdenv capable of building 32-bit binaries. On x86_64-linux,
3540 # it uses GCC compiled with multilib support; on i686-linux, it's
3641 # just the plain stdenv.