lol

stdenv: leave SSL_CERT_FILE in shells (#15571)

authored by

Nikolay Amiantov and committed by
Domen Kožar
adaee735 7f520bda

+2 -1
+2 -1
pkgs/stdenv/generic/setup.sh
··· 376 376 377 377 # Prevent OpenSSL-based applications from using certificates in 378 378 # /etc/ssl. 379 - if [ -z "$SSL_CERT_FILE" ]; then 379 + # Leave it in shells for convenience. 380 + if [ -z "$SSL_CERT_FILE" ] && [ -z "$IN_NIX_SHELL" ]; then 380 381 export SSL_CERT_FILE=/no-cert-file.crt 381 382 fi 382 383