mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +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
|