git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #95510 from hannesweisbach/patch-1

tk: fix installation on macOS

commit70cfd9d25e1d4f5a40f5d0a518f0749635792667 authorMario Rodas <marsam@users.noreply.github.com> dateSun 23 Aug 2020, 12:25 (6 years ago) parentcf47ba6371e262
1 file changed+1−1
pkgs/development/libraries/tk/generic.nix+1−1
pkgs/development/libraries/tk/generic.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 postInstall = ''
2020 ln -s $out/bin/wish* $out/bin/wish
2121 cp ../{unix,generic}/*.h $out/include
22− ln -s $out/lib/libtk${tcl.release}.so $out/lib/libtk.so
22+ ln -s $out/lib/libtk${tcl.release}${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/libtk${stdenv.hostPlatform.extensions.sharedLibrary}
2323 ''
2424 + stdenv.lib.optionalString (stdenv.isDarwin) ''
2525 cp ../macosx/*.h $out/include