about summary refs log tree commit diff
path: root/src/libstore/globals.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2017-03-06T19·54+0100
committerGitHub <noreply@github.com>2017-03-06T19·54+0100
commit121a407eecd4a176adbfbacf49735b3dfc303e79 (patch)
tree659e5e155b94a0981d724d395d3fc7b0f306ced5 /src/libstore/globals.cc
parent1cf480110879ffc8aee94b4b75999da405b71d7c (diff)
parent3cc18d3753af79946ba7c21ccdc49a6f58642108 (diff)
Merge pull request #1264 from shlevy/s3-ca-file
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"));
 }