fontconfig 2.10: Don't use stdenv.cross

authored by hsloan and committed by John Ericson 0fa3d99f df8c390a

+4 -2
+4 -2
pkgs/development/libraries/fontconfig/2.10.nix
··· 1 - { stdenv, fetchurl, pkgconfig, freetype, expat }: 1 + { stdenv, fetchurl, pkgconfig, freetype, expat 2 + , hostPlatform 3 + }: 2 4 3 5 stdenv.mkDerivation rec { 4 6 name = "fontconfig-2.10.2"; ··· 21 23 ]; 22 24 23 25 # We should find a better way to access the arch reliably. 24 - crossArch = stdenv.cross.arch or null; 26 + crossArch = hostPlatform.arch or null; 25 27 26 28 preConfigure = '' 27 29 if test -n "$crossConfig"; then