···11-{ stdenv, fetchurl, pkgconfig, freetype, expat }:
11+{ stdenv, fetchurl, pkgconfig, freetype, expat
22+, hostPlatform
33+}:
2435stdenv.mkDerivation rec {
46 name = "fontconfig-2.10.2";
···2123 ];
22242325 # We should find a better way to access the arch reliably.
2424- crossArch = stdenv.cross.arch or null;
2626+ crossArch = hostPlatform.arch or null;
25272628 preConfigure = ''
2729 if test -n "$crossConfig"; then