* 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:
parent
9cb9621fec
commit
1bd112d4a7
@ -84,7 +84,7 @@ import ../helpers/make-etc.nix {
|
|||||||
source = pkgs.substituteAll {
|
source = pkgs.substituteAll {
|
||||||
src = ./etc/profile.sh;
|
src = ./etc/profile.sh;
|
||||||
inherit systemPath wrapperDir;
|
inherit systemPath wrapperDir;
|
||||||
inherit (pkgs) kernel;
|
inherit (pkgs) kernel glibc;
|
||||||
timeZone = config.get ["time" "timeZone"];
|
timeZone = config.get ["time" "timeZone"];
|
||||||
};
|
};
|
||||||
target = "profile";
|
target = "profile";
|
||||||
|
@ -3,6 +3,7 @@ export MODULE_DIR=@kernel@/lib/modules
|
|||||||
export NIX_CONF_DIR=/nix/etc/nix
|
export NIX_CONF_DIR=/nix/etc/nix
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
export TZ=@timeZone@
|
export TZ=@timeZone@
|
||||||
|
export TZDIR=@glibc@/share/zoneinfo
|
||||||
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user