diff options
author | Nikolay Amiantov <ab@fmap.me> | 2018-02-14 15:03:59 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2018-03-11 02:14:49 +0300 |
commit | 9db2a3e63859532b0b395a9786f513bd1a78bf36 (patch) | |
tree | 2fbb41c8e741800027566502b553a31f012d780d /pkgs/build-support | |
parent | cc1820322a819fc98f1e87ec4f748887872b07f7 (diff) |
buildFHSEnv: export TZDIR
This is needed since NixOS keeps tzdata in non-standard /etc/zoneinfo path.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/build-fhs-userenv/env.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/build-fhs-userenv/env.nix b/pkgs/build-support/build-fhs-userenv/env.nix index 9c91090dc5c6c..d951fb9ab06ed 100644 --- a/pkgs/build-support/build-fhs-userenv/env.nix +++ b/pkgs/build-support/build-fhs-userenv/env.nix @@ -52,6 +52,7 @@ let export LOCALE_ARCHIVE='/usr/lib/locale/locale-archive' export LD_LIBRARY_PATH='/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32' export PATH='/run/wrappers/bin:/usr/bin:/usr/sbin' + export TZDIR='/etc/zoneinfo' # Force compilers and other tools to look in default search paths unset NIX_ENFORCE_PURITY |