mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
5d57104d84
This allows cacert to be used with Haskell-based fetchers like you would with regular OpenSSL-based fetchers: buildInputs = [ cacert ];
8 lines
234 B
Bash
8 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
|