mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
fontconfig 2.10: Don't use stdenv.cross
This commit is contained in:
parent
df8c390a5a
commit
0fa3d99f4e
@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, freetype, expat }:
|
||||
{ stdenv, fetchurl, pkgconfig, freetype, expat
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fontconfig-2.10.2";
|
||||
@ -21,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
# We should find a better way to access the arch reliably.
|
||||
crossArch = stdenv.cross.arch or null;
|
||||
crossArch = hostPlatform.arch or null;
|
||||
|
||||
preConfigure = ''
|
||||
if test -n "$crossConfig"; then
|
||||
|
Loading…
Reference in New Issue
Block a user