nixpkgs/pkgs/data/misc/tzdata/tzdata-setup-hook.sh

7 lines
107 B
Bash

tzdataHook() {
export TZDIR=@out@/share/zoneinfo
}
envHooks+=(tzdataHook)
crossEnvHooks+=(tzdataHook)