forked from mirrors/nixpkgs
Set CURL_CA_BUNDLE env variable for nix-daemon to allow pulling from a binary cache on https. Did not add to nix.envVars to avoid being added to shellInit.
This commit is contained in:
parent
b825169404
commit
0408858a8a
|
@ -292,7 +292,7 @@ in
|
|||
path = [ nix pkgs.openssl pkgs.utillinux ]
|
||||
++ optionals cfg.distributedBuilds [ pkgs.openssh pkgs.gzip ];
|
||||
|
||||
environment = cfg.envVars;
|
||||
environment = cfg.envVars // { CURL_CA_BUNDLE = "/etc/ssl/certs/ca-bundle.crt"; };
|
||||
|
||||
serviceConfig =
|
||||
{ ExecStart = "@${nix}/bin/nix-daemon nix-daemon --daemon";
|
||||
|
|
Loading…
Reference in a new issue