nixpkgs-suyu/pkgs/data/misc/cacert/setup-hook.sh
Robert Hensing 5d57104d84 cacert: Add Haskell x509-system compatibility
This allows cacert to be used with Haskell-based fetchers like
you would with regular OpenSSL-based fetchers:

  buildInputs = [ cacert ];
2021-07-08 19:27:09 +02:00

7 lines
234 B
Bash

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