Merge pull request #16358 from timbertson/tk

tk: propagate dependency on tcl & libXft
This commit is contained in:
Frederik Rietdijk 2016-07-18 23:11:53 +02:00 committed by GitHub
commit e558561c3e

View File

@ -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;