From 02bae3913260296447fe80ffb44276f48239e317 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 Sep 2016 15:47:11 +0200 Subject: [PATCH] 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. --- pkgs/development/interpreters/tcl/generic.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/interpreters/tcl/generic.nix b/pkgs/development/interpreters/tcl/generic.nix index eafffba4a34f..3bf4ba2dc2f0 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 '';