diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 15:15:07 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 18:57:43 +0200 |
commit | 02683acf714c506611fc3e4ec3c3a518fd08ae65 (patch) | |
tree | ddb880384d940ac332b04f137a2691b25180365f /pkgs/development/libraries/tk | |
parent | b0327ac2409f9d7e9a5aa0379f2b351b56058dfd (diff) |
tk: Separate man output
This reduces the size of the main output by half a megabyte.
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r-- | pkgs/development/libraries/tk/generic.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/libraries/tk/generic.nix b/pkgs/development/libraries/tk/generic.nix index c5a01ec7e7c80..0ed4aee7a9602 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" ]; |