forked from mirrors/nixpkgs
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:
parent
168192f116
commit
02bae39132
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue