1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

SSL_CERT_FILE -> NIX_SSL_CERT_FILE

This commit is contained in:
Domen Kožar 2019-05-17 10:22:22 +07:00
parent fb0a1763f5
commit bb91a4d6c3
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
3 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@
launchd.user.agents.fetch-nixpkgs-updates = { launchd.user.agents.fetch-nixpkgs-updates = {
command = "/usr/bin/sandbox-exec -f ${config.security.sandbox.profiles.fetch-nixpkgs-updates.profile} ${pkgs.git}/bin/git -C /src/nixpkgs fetch origin master"; command = "/usr/bin/sandbox-exec -f ${config.security.sandbox.profiles.fetch-nixpkgs-updates.profile} ${pkgs.git}/bin/git -C /src/nixpkgs fetch origin master";
environment.HOME = ""; environment.HOME = "";
environment.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; environment.NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
serviceConfig.KeepAlive = false; serviceConfig.KeepAlive = false;
serviceConfig.ProcessType = "Background"; serviceConfig.ProcessType = "Background";
serviceConfig.StartInterval = 360; serviceConfig.StartInterval = 360;

View file

@ -63,7 +63,7 @@ in {
path = [ config.nix.package ]; path = [ config.nix.package ];
environment = { environment = {
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
}; };
serviceConfig.KeepAlive = true; serviceConfig.KeepAlive = true;

View file

@ -69,7 +69,7 @@ in
path = [ config.nix.package pkgs.bash pkgs.coreutils pkgs.curl pkgs.git ]; path = [ config.nix.package pkgs.bash pkgs.coreutils pkgs.curl pkgs.git ];
environment = environment =
{ RUST_BACKTRACE = "1"; { RUST_BACKTRACE = "1";
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
}; };
serviceConfig.KeepAlive = true; serviceConfig.KeepAlive = true;