tk on darwin: another attempt to fix build

They add the -lfontconfig explicitly in macports, so hopefully it fixes it.
https://trac.macports.org/browser/trunk/dports/x11/tk/Portfile
This commit is contained in:
Vladimír Čunát 2014-04-13 14:56:54 +02:00
parent 0feb117c20
commit 086d6c802b

View File

@ -21,6 +21,8 @@ stdenv.mkDerivation {
buildInputs = [ pkgconfig tcl libXft ]
++ stdenv.lib.optional stdenv.isDarwin fontconfig;
NIX_CFLAGS_LINK = if stdenv.isDarwin then "-lfontconfig" else null;
inherit tcl;
passthru = {