mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
stdenv: set SSL_CERT_FILE only if it isn't already
This commit is contained in:
parent
93f6af1071
commit
39609a0c94
@ -384,7 +384,9 @@ paxmark() { true; }
|
||||
|
||||
# Prevent OpenSSL-based applications from using certificates in
|
||||
# /etc/ssl.
|
||||
export SSL_CERT_FILE=/no-cert-file.crt
|
||||
if [ -z "$SSL_CERT_FILE" ]; then
|
||||
export SSL_CERT_FILE=/no-cert-file.crt
|
||||
fi
|
||||
|
||||
|
||||
######################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user