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:
parent
0feb117c20
commit
086d6c802b
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue