diff options
author | Tim Cuthbertson <tim@gfxmonk.net> | 2016-06-20 18:33:44 +1000 |
---|---|---|
committer | Tim Cuthbertson <tim@gfxmonk.net> | 2016-06-20 20:03:05 +1000 |
commit | 6145b6b7d644139dd551cea36a0bce1580baa971 (patch) | |
tree | 26c98f8115cba4021a881765f3a8519bec11411e /pkgs/development/libraries/tk | |
parent | 26d75c5d4d3bbc4d35cf07973fb21ac8f7cc19c8 (diff) |
tk: propagate dependency on tcl & libXft
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r-- | pkgs/development/libraries/tk/generic.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/tk/generic.nix b/pkgs/development/libraries/tk/generic.nix index c3bab0b2f868b..934bfa6a9e943 100644 --- a/pkgs/development/libraries/tk/generic.nix +++ b/pkgs/development/libraries/tk/generic.nix @@ -17,9 +17,11 @@ stdenv.mkDerivation { "--with-tcl=${tcl}/lib" ]; - buildInputs = [ pkgconfig tcl libXft ] + buildInputs = [ pkgconfig ] ++ stdenv.lib.optional stdenv.isDarwin fontconfig; + propagatedBuildInputs = [ tcl libXft ]; + NIX_CFLAGS_LINK = if stdenv.isDarwin then "-lfontconfig" else null; inherit tcl; |