3
0
Fork 0
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:
Rob Vermaas 2013-09-16 19:02:20 +02:00
parent b825169404
commit 0408858a8a

View file

@ -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";