fontconfig 2.10: Don't use stdenv.cross
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, freetype, expat }:
|
{ stdenv, fetchurl, pkgconfig, freetype, expat
|
||||||
|
, hostPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fontconfig-2.10.2";
|
name = "fontconfig-2.10.2";
|
||||||
@@ -21,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# We should find a better way to access the arch reliably.
|
# We should find a better way to access the arch reliably.
|
||||||
crossArch = stdenv.cross.arch or null;
|
crossArch = hostPlatform.arch or null;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
if test -n "$crossConfig"; then
|
if test -n "$crossConfig"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user