From 086d6c802b26c11ff7b01b4733de0e3b1b2c1c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 13 Apr 2014 14:56:54 +0200 Subject: [PATCH] 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 --- pkgs/development/libraries/tk/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/tk/default.nix b/pkgs/development/libraries/tk/default.nix index 2757a2543859..fd3684d189c8 100644 --- a/pkgs/development/libraries/tk/default.nix +++ b/pkgs/development/libraries/tk/default.nix @@ -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 = {