mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Merge pull request #33 from nix-community/ssl-certs
fix restoring SSL_CERT_FILE files
This commit is contained in:
commit
23326b9439
1 changed files with 2 additions and 2 deletions
4
direnvrc
4
direnvrc
|
|
@ -17,7 +17,7 @@ _nix_import_env() {
|
|||
if [[ $impure_ssl_cert_file == __UNSET__ ]]; then
|
||||
unset SSL_CERT_FILE
|
||||
else
|
||||
export SSL_CERT_FILE=$impure_nix_ssl_cert_file
|
||||
export SSL_CERT_FILE=$impure_ssl_cert_file
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ _nix_import_env() {
|
|||
if [[ $impure_nix_ssl_cert_file == __UNSET__ ]]; then
|
||||
unset NIX_SSL_CERT_FILE
|
||||
else
|
||||
export NIX_SSL_CERT_FILE=${impure_ssl_cert_file}
|
||||
export NIX_SSL_CERT_FILE=${impure_nix_ssl_cert_file}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue