tk: add missing headers for Darwin (#62125)

This commit is contained in:
Wael Nasreddine 2019-05-27 11:54:51 -07:00 committed by GitHub
parent 68cae99370
commit 915085c6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,9 @@ stdenv.mkDerivation {
ln -s $out/bin/wish* $out/bin/wish
cp ../{unix,generic}/*.h $out/include
ln -s $out/lib/libtk${tcl.release}.so $out/lib/libtk.so
''
+ stdenv.lib.optionalString (stdenv.isDarwin) ''
cp ../macosx/*.h $out/include
'';
configureFlags = [