* Set the TZDIR variable so that the KDE clock can find the timezone

definitions (NIXOS-56).

svn path=/nixos/trunk/; revision=8488
This commit is contained in:
Eelco Dolstra 2007-03-29 17:46:36 +00:00
parent 9cb9621fec
commit 1bd112d4a7
2 changed files with 2 additions and 1 deletions

View file

@ -84,7 +84,7 @@ import ../helpers/make-etc.nix {
source = pkgs.substituteAll {
src = ./etc/profile.sh;
inherit systemPath wrapperDir;
inherit (pkgs) kernel;
inherit (pkgs) kernel glibc;
timeZone = config.get ["time" "timeZone"];
};
target = "profile";

View file

@ -3,6 +3,7 @@ export MODULE_DIR=@kernel@/lib/modules
export NIX_CONF_DIR=/nix/etc/nix
export PAGER=less
export TZ=@timeZone@
export TZDIR=@glibc@/share/zoneinfo
export FONTCONFIG_FILE=/etc/fonts/fonts.conf