https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
7 lines
234 B
Bash
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
|