cron: set TZDIR so cron is able to find the TZ

This commit is contained in:
Mathijs Kwik 2013-04-18 14:22:59 +02:00
parent 006f328877
commit ae2f280b67
1 changed files with 4 additions and 1 deletions

View File

@ -91,7 +91,10 @@ in
startOn = "startup";
# Needed to interpret times in the local timezone.
environment = { TZ = config.time.timeZone; };
environment = {
TZ = config.time.timeZone;
TZDIR = "${pkgs.tzdata}/share/zoneinfo";
};
path = [ cronNixosPkg ];