mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-15 04:57:51 +00:00
buildkite-agent: fix launcd daemon environment
Add missing 'NIX_SSL_CERT_FILE'
This commit is contained in:
parent
b8c286c82c
commit
f253b41de8
1 changed files with 2 additions and 1 deletions
|
@ -228,7 +228,8 @@ in
|
||||||
{ path = cfg.runtimePackages ++ [ cfg.package pkgs.coreutils pkgs.darwin.DarwinTools ];
|
{ path = cfg.runtimePackages ++ [ cfg.package pkgs.coreutils pkgs.darwin.DarwinTools ];
|
||||||
environment = {
|
environment = {
|
||||||
HOME = cfg.dataDir;
|
HOME = cfg.dataDir;
|
||||||
}// (if config.nix.useDaemon then { NIX_REMOTE = "daemon"; } else {});
|
inherit (config.environment.variables) NIX_SSL_CERT_FILE;
|
||||||
|
} // (if config.nix.useDaemon then { NIX_REMOTE = "daemon"; } else {});
|
||||||
|
|
||||||
## NB: maximum care is taken so that secrets (ssh keys and the CI token)
|
## NB: maximum care is taken so that secrets (ssh keys and the CI token)
|
||||||
## don't end up in the Nix store.
|
## don't end up in the Nix store.
|
||||||
|
|
Loading…
Add table
Reference in a new issue