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 15:15:07 +02:00
parent b0327ac240
commit 02683acf71

@ -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"
];