mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00: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