@@ -376,7 +376,8 @@ export NIX_BUILD_CORES
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