aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-27 14:08:39 +0200
committerEelco Dolstra <edolstra@gmail.com>2023-03-27 14:08:39 +0200
commita519436e9d78fa6500999485c2c638553a32696f (patch)
treef649c06eb4c33f7db6d7fa627f45d3987eea0d25
parente53e5c38d4a6f89dbb7e33448977a95e5b4ab2eb (diff)
ssl-cert-file: Use lists
-rw-r--r--src/libstore/globals.hh17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 95f6b5e35..6803fb614 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -832,12 +832,17 @@ public:
this, getDefaultSSLCertFile(), "ssl-cert-file",
R"(
The path of a file containing CA certificates used to
- authenticate `https://` downloads. It defaults to the first
- of `/etc/ssl/certs/ca-certificates.crt` and
- `/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt`
- that exists. It can be overriden using the
- `NIX_SSL_CERT_FILE` and `SSL_CERT_FILE` environment variable
- (in that order of precedence).
+ authenticate `https://` downloads. Nix by default will use
+ the first of the following files that exists:
+
+ 1. `/etc/ssl/certs/ca-certificates.crt`
+ 2. `/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt`
+
+ The path can be overridden by the following environment
+ variables, in order of precedence:
+
+ 1. `NIX_SSL_CERT_FILE`
+ 2. `SSL_CERT_FILE`
)"};
#if __linux__