tk: Separate man output
This reduces the size of the main output by half a megabyte.
This commit is contained in:
parent
b0327ac240
commit
02683acf71
@ -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"
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user