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