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.
This commit is contained in:
Eelco Dolstra 2016-09-01 15:47:11 +02:00
parent 168192f116
commit 02bae39132

View File

@ -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
'';