mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +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 ];
|
||||
environment = {
|
||||
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)
|
||||
## don't end up in the Nix store.
|
||||
|
|
Loading…
Reference in a new issue