diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 15:47:11 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 18:57:43 +0200 |
commit | 02bae3913260296447fe80ffb44276f48239e317 (patch) | |
tree | 30ae867defe1961ae732d01941241231b611c064 | |
parent | 168192f116d2faaab33e4fade4756c8d4690e614 (diff) |
tcl: Don't install a copy of tzdata
This cuts about 3 MiB from the installed size. On Linux, the configure script is supposed to detect that installing tzdata is unnecessary, but it looks in locations like /usr/share/zoneinfo.
-rw-r--r-- | pkgs/development/interpreters/tcl/generic.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/tcl/generic.nix b/pkgs/development/interpreters/tcl/generic.nix index eafffba4a34fe..3bf4ba2dc2f01 100644 --- a/pkgs/development/interpreters/tcl/generic.nix +++ b/pkgs/development/interpreters/tcl/generic.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { preConfigure = '' # Note: using $out instead of $man to prevent a runtime dependency on $man. configureFlagsArray+=(--mandir=$out/share/man --enable-man-symlinks) + + # Don't install tzdata because NixOS already has a more up-to-date copy. + configureFlagsArray+=(--with-tzdata=no) + cd unix ''; |