Merge pull request #292259 from dawidd6/docker-nix-ssl

dockerTools: set NIX_SSL_CERT_FILE in image
This commit is contained in:
Silvan Mosberger 2024-03-12 02:01:08 +01:00 committed by GitHub
commit aabd5fbfcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1200,6 +1200,7 @@ rec {
# Root certificates for internet access # Root certificates for internet access
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
NIX_SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
# https://github.com/NixOS/nix/blob/2.8.0/src/libstore/build/local-derivation-goal.cc#L1027-L1030 # https://github.com/NixOS/nix/blob/2.8.0/src/libstore/build/local-derivation-goal.cc#L1027-L1030
# PATH = "/path-not-set"; # PATH = "/path-not-set";