mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
stdenv: leave SSL_CERT_FILE in shells (#15571)
This commit is contained in:
parent
7f520bdad8
commit
adaee7352b
@ -376,7 +376,8 @@ export NIX_BUILD_CORES
|
||||
|
||||
# Prevent OpenSSL-based applications from using certificates in
|
||||
# /etc/ssl.
|
||||
if [ -z "$SSL_CERT_FILE" ]; then
|
||||
# Leave it in shells for convenience.
|
||||
if [ -z "$SSL_CERT_FILE" ] && [ -z "$IN_NIX_SHELL" ]; then
|
||||
export SSL_CERT_FILE=/no-cert-file.crt
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user