79bd4ad579
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_*.
7 lines
208 B
Bash
7 lines
208 B
Bash
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
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" cacertHook
|