diff options
author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2019-05-27 11:54:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 11:54:51 -0700 |
commit | 915085c6deb7d16f5e8d9ab5d96b3242e5583972 (patch) | |
tree | 55166657b64dbbe119f6f73887fbbb8d3f7625ea /pkgs/development/libraries/tk | |
parent | 68cae99370b22db4b4fb62b6b3828496c4a37f9d (diff) |
tk: add missing headers for Darwin (#62125)
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r-- | pkgs/development/libraries/tk/generic.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tk/generic.nix b/pkgs/development/libraries/tk/generic.nix index 10b8bc7cd7179..6e4640fabb7b3 100644 --- a/pkgs/development/libraries/tk/generic.nix +++ b/pkgs/development/libraries/tk/generic.nix @@ -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 = [ |