summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMarwan Aljubeh <marwan.aljubeh@gmail.com>2020-09-16 17:56:43 +0100
committerGitHub <noreply@github.com>2020-09-16 17:56:43 +0100
commitb7c02232b2c2c51b3b81389b247e400b7a115abc (patch)
tree2cc1796fd44d743b6efad1d1d555734bd490a7b8 /misc
parent5080d4e7b2525d1656282c65a217a22ff8381df3 (diff)
Fix the nix-daemon Mac OS SSL CA cert
Mac OS multi-user installations are currently broken because all requests made by nix-daemon to the binary cache fail with: ``` unable to download ... Problem with the SSL CA cert (path? access rights?) (77). ``` This change ensures that the nix-daemon knows where to find the SSL CA cert file. Fixes #2899 and #3261.
Diffstat (limited to 'misc')
-rw-r--r--misc/launchd/org.nixos.nix-daemon.plist.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in
index 9f26296a9..c334639e2 100644
--- a/misc/launchd/org.nixos.nix-daemon.plist.in
+++ b/misc/launchd/org.nixos.nix-daemon.plist.in
@@ -4,6 +4,8 @@
<dict>
<key>EnvironmentVariables</key>
<dict>
+ <key>NIX_SSL_CERT_FILE</key>
+ <string>/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt</string>
<key>OBJC_DISABLE_INITIALIZE_FORK_SAFETY</key>
<string>YES</string>
</dict>