diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-31 11:55:20 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-31 11:55:20 +0200 |
commit | 7c33ed691c123781c7fe6046e3e7c6a6b99c61e4 (patch) | |
tree | b58e9010a485e9c8c629488c65fc9898bbb9ae03 | |
parent | d74c8a3f4e1131ee9dbd9898d141789832802306 (diff) |
nix-daemon.service: Set $XDG_CACHE_HOME
Nix requires either $HOME or $XDG_CACHE_HOME to be set.
-rw-r--r-- | misc/systemd/nix-daemon.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in index 5fc04a3f5..fcd799e17 100644 --- a/misc/systemd/nix-daemon.service.in +++ b/misc/systemd/nix-daemon.service.in @@ -7,3 +7,4 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket [Service] ExecStart=@@bindir@/nix-daemon nix-daemon --daemon KillMode=process +Environment=XDG_CACHE_HOME=/root/.cache |