about summary refs log tree commit diff
path: root/src/libstore/globals.cc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-03-06T19·30-0500
committerShea Levy <shea@shealevy.com>2017-03-06T19·30-0500
commit3cc18d3753af79946ba7c21ccdc49a6f58642108 (patch)
tree659e5e155b94a0981d724d395d3fc7b0f306ced5 /src/libstore/globals.cc
parent1cf480110879ffc8aee94b4b75999da405b71d7c (diff)
Properly set the caFile for aws-sdk-cpp s3
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r--src/libstore/globals.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index 07af629260af..fcd6347294ca 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -69,6 +69,7 @@ Settings::Settings()
     showTrace = false;
     enableImportNative = false;
     netrcFile = fmt("%s/%s", nixConfDir, "netrc");
+    caFile = getEnv("NIX_SSL_CERT_FILE", getEnv("SSL_CERT_FILE", "/etc/ssl/certs/ca-certificates.crt"));
 }