mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 18:57:08 +00:00
SSL_CERT_FILE -> NIX_SSL_CERT_FILE
This commit is contained in:
parent
fb0a1763f5
commit
bb91a4d6c3
3 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@
|
|||
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";
|
||||
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.ProcessType = "Background";
|
||||
serviceConfig.StartInterval = 360;
|
||||
|
|
|
@ -63,7 +63,7 @@ in {
|
|||
|
||||
path = [ config.nix.package ];
|
||||
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;
|
||||
|
|
|
@ -69,7 +69,7 @@ in
|
|||
path = [ config.nix.package pkgs.bash pkgs.coreutils pkgs.curl pkgs.git ];
|
||||
environment =
|
||||
{ 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue