diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-12T13·00+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-12T13·00+0200 |
commit | eff80419c76eb7d77d3b434a45fb9e18d53d1d19 (patch) | |
tree | 74474cfb11474ac7b04dac2b93469edca05efb26 /misc/launchd/org.nixos.nix-daemon.plist.in | |
parent | 4ea742c3f710e16136ec36acc349e7e1cf45ca37 (diff) |
launchd: Set $SSL_CERT_FILE
Otherwise in particular https://cache.nixos.org won't work in the daemon.
Diffstat (limited to 'misc/launchd/org.nixos.nix-daemon.plist.in')
-rw-r--r-- | misc/launchd/org.nixos.nix-daemon.plist.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index 66fcd155ee9b..0dd665db635f 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -12,5 +12,10 @@ <string>/var/log/nix-daemon.log</string> <key>StandardOutPath</key> <string>/dev/null</string> + <key>EnvironmentVariables</key> + <dict> + <key>SSL_CERT_FILE</key> + <string>/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt</string> + </dict> </dict> </plist> |