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

View File

@ -5,14 +5,19 @@ stdenv.mkDerivation {
inherit src patches; inherit src patches;
postInstall = '' outputs = [ "out" "man" ];
ln -s $out/bin/wish* $out/bin/wish
''; setOutputFlags = false;
preConfigure = '' preConfigure = ''
configureFlagsArray+=(--mandir=$man/share/man --enable-man-symlinks)
cd unix cd unix
''; '';
postInstall = ''
ln -s $out/bin/wish* $out/bin/wish
'';
configureFlags = [ configureFlags = [
"--with-tcl=${tcl}/lib" "--with-tcl=${tcl}/lib"
]; ];