Daiderd Jordan
3cc790bd20
launchd: enable keepalive for the nix-daemon service
...
Without this the daemon won't be restarted if the process ever dies, for
example when sending a SIGHUP to reload nix.conf.
(cherry picked from commit 05cb8e5c5a )
2018-04-10 21:35:51 +02:00
Eelco Dolstra
847f19a5f7
Provide a builtin default for $NIX_SSL_CERT_FILE
...
This is mostly to ensure that when Nix is started on macOS via a
launchd service or sshd (for a remote build), it gets a certificate
bundle.
2017-06-12 16:44:43 +02:00
Eelco Dolstra
465cb68244
Figure out the user's home directory if $HOME is not set
2017-05-05 17:08:23 +02:00
Shea Levy
689b825627
nix-daemon.plist: Set XDG_CACHE_HOME
2017-03-05 18:15:44 -05:00
Eelco Dolstra
fb2dd32100
SSL_CERT_FILE -> NIX_SSL_CERT_FILE
...
This prevents collisions with the "native" OpenSSL, in particular on
OS X.
Fixes #921 .
2016-10-13 17:09:10 +02:00
Eelco Dolstra
eff80419c7
launchd: Set $SSL_CERT_FILE
...
Otherwise in particular https://cache.nixos.org won't work in the
daemon.
2016-08-12 15:00:51 +02:00
Eelco Dolstra
3cc9977118
Typo
2014-11-04 10:31:17 +01:00
Eelco Dolstra
bbf294cceb
Add a launchd configuration file to run nix-daemon
2014-11-04 10:30:22 +01:00