nixpkgs-suyu/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 21:22:53 +01:00
addEnvHooks "$targetOffset" cacertHook