1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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 = {