3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/misc/cacert/setup-hook.sh

8 lines
208 B
Bash
Raw Normal View History

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
}
2018-01-07 20:22:53 +00:00
addEnvHooks "$targetOffset" cacertHook