From 39609a0c9414b398330e42f872e7358e30e133dd Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 25 Feb 2016 13:53:03 +0300 Subject: [PATCH] stdenv: set SSL_CERT_FILE only if it isn't already --- pkgs/stdenv/generic/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 8081b69bffd37..b49846fa050cb 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -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 ######################################################################