git.iko.soy/typeable/nixpkgs
on master help sign in
stdenv: leave SSL_CERT_FILE in shells (#15571)
adaee73Nikolay Amiantov
pkgs/stdenv/generic/setup.sh+2−1
@@ -376,7 +376,8 @@ export NIX_BUILD_CORES
376
376
377# Prevent OpenSSL-based applications from using certificates in
377# Prevent OpenSSL-based applications from using certificates in
378# /etc/ssl.
378# /etc/ssl.
379+# Leave it in shells for convenience.
379−if [ -z "$SSL_CERT_FILE" ]; then
380+if [ -z "$SSL_CERT_FILE" ] && [ -z "$IN_NIX_SHELL" ]; then
380 export SSL_CERT_FILE=/no-cert-file.crt
381 export SSL_CERT_FILE=/no-cert-file.crt
381fi
382fi
382
383