tk: Separate man output

This reduces the size of the main output by half a megabyte.
This commit is contained in:
Eelco Dolstra
2016-09-01 18:57:43 +02:00
parent b0327ac240
commit 02683acf71
+8 -3
View File
@@ -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"
];