Skip to content

Commit 23326b9

Browse files
authored
Merge pull request #33 from nix-community/ssl-certs
fix restoring SSL_CERT_FILE files
2 parents 3f6fd70 + 6472420 commit 23326b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

direnvrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ _nix_import_env() {
1717
if [[ $impure_ssl_cert_file == __UNSET__ ]]; then
1818
unset SSL_CERT_FILE
1919
else
20-
export SSL_CERT_FILE=$impure_nix_ssl_cert_file
20+
export SSL_CERT_FILE=$impure_ssl_cert_file
2121
fi
2222
fi
2323

2424
if [[ "${NIX_SSL_CERT_FILE:-}" = /no-cert-file.crt ]]; then
2525
if [[ $impure_nix_ssl_cert_file == __UNSET__ ]]; then
2626
unset NIX_SSL_CERT_FILE
2727
else
28-
export NIX_SSL_CERT_FILE=${impure_ssl_cert_file}
28+
export NIX_SSL_CERT_FILE=${impure_nix_ssl_cert_file}
2929
fi
3030
fi
3131

0 commit comments

Comments
 (0)