From eff80419c76eb7d77d3b434a45fb9e18d53d1d19 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 12 Aug 2016 15:00:51 +0200 Subject: [PATCH] launchd: Set $SSL_CERT_FILE Otherwise in particular https://cache.nixos.org won't work in the daemon. --- misc/launchd/org.nixos.nix-daemon.plist.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index 66fcd155e..0dd665db6 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -12,5 +12,10 @@ /var/log/nix-daemon.log StandardOutPath /dev/null + EnvironmentVariables + + SSL_CERT_FILE + /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt +