diff --git a/pkgs/development/libraries/tk/generic.nix b/pkgs/development/libraries/tk/generic.nix index c5a01ec7e7c8..0ed4aee7a960 100644 --- a/pkgs/development/libraries/tk/generic.nix +++ b/pkgs/development/libraries/tk/generic.nix @@ -5,14 +5,19 @@ stdenv.mkDerivation { inherit src patches; - postInstall = '' - ln -s $out/bin/wish* $out/bin/wish - ''; + outputs = [ "out" "man" ]; + + setOutputFlags = false; preConfigure = '' + configureFlagsArray+=(--mandir=$man/share/man --enable-man-symlinks) cd unix ''; + postInstall = '' + ln -s $out/bin/wish* $out/bin/wish + ''; + configureFlags = [ "--with-tcl=${tcl}/lib" ];