core/pkgs/by-name/ca/cacert/setup-hook.sh

8 lines
234 B
Bash
Raw Normal View History

2024-05-02 00:46:19 +00:00
export NIX_SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
# compatibility
# - openssl
export SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
# - Haskell x509-system
export SYSTEM_CERTIFICATE_PATH=@out@/etc/ssl/certs/ca-bundle.crt