1
0
Fork 0

Fix SSL_CERTS

This commit is contained in:
Malte Brandy 2020-04-18 16:42:22 +02:00
parent 8e3b713d8b
commit 4d4d1da658
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -33,8 +33,9 @@ in {
(lib.filterAttrs (name: value: name != "__functor") sources) // {
"nix-path/nixos".source = sources.nixpkgs;
};
variables = genAttrs [ "CURL_CA_BUNDLE" "GIT_SSL_CAINFO" "SSL_CERT_FILE" ]
(const "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt");
variables =
lib.genAttrs [ "CURL_CA_BUNDLE" "GIT_SSL_CAINFO" "SSL_CERT_FILE" ]
(_: "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt");
};
nix = {