mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 04:13:12 +00:00
911aa1440f
This envvar is also added to lib.proxyImpureEnvVars since it's typically required for https proxies. This change also updates fetchgit and go module fetching to use this envvar. NIX_GIT_SSL_CAINFO is still supported for backwards compatibility in fetchgit.
8 lines
228 B
Bash
8 lines
228 B
Bash
export NIX_SSL_CERT_FILE="${NIX_SSL_CERT_FILE:-@out@/etc/ssl/certs/ca-bundle.crt}"
|
|
|
|
# compatibility
|
|
# - openssl
|
|
export SSL_CERT_FILE=$NIX_SSL_CERT_FILE
|
|
# - Haskell x509-system
|
|
export SYSTEM_CERTIFICATE_PATH=$NIX_SSL_CERT_FILE
|