Set $LOCALE_ARCHIVE in all systemd units

This variable used to be inherited implicitly from the stage-2 script,
but systemd now clears the environment. So we need to set it
explicitly.
This commit is contained in:
Eelco Dolstra
2014-04-18 19:04:45 +02:00
parent 313c38d5f1
commit 465d6ff572
3 changed files with 7 additions and 4 deletions
@@ -258,7 +258,6 @@ in
path = [ pkgs.openssh pkgs.gawk ];
environment.LD_LIBRARY_PATH = nssModulesPath;
environment.LOCALE_ARCHIVE = "/run/current-system/sw/lib/locale/locale-archive";
preStart =
''