diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-05-09 08:42:07 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-05-09 08:46:22 +0200 |
commit | 79bd4ad5794163b8a65acc86809a6603ee7c7ce7 (patch) | |
tree | fd27ca49e9222b55f354fc608f5c8d1d4a580842 /pkgs/data/misc | |
parent | 9d3d5e98bc415935265d48f59f538cdda52fc3bb (diff) |
stdenv, cacert: consider $NIX_SSL_CERT_FILE in hooks
Some SSL libs don't react to $SSL_CERT_FILE. That actually makes sense to me, as we add this behavior as nixpkgs-specific, so it seems "safer" to use $NIX_*.
Diffstat (limited to 'pkgs/data/misc')
-rw-r--r-- | pkgs/data/misc/cacert/setup-hook.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/data/misc/cacert/setup-hook.sh b/pkgs/data/misc/cacert/setup-hook.sh index b704a6a919e09..e969596752f31 100644 --- a/pkgs/data/misc/cacert/setup-hook.sh +++ b/pkgs/data/misc/cacert/setup-hook.sh @@ -1,4 +1,6 @@ cacertHook() { + export NIX_SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt + # left for compatibility export SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt } |