1
0
Fork 0
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:
Roman Melnikov 2023-05-29 13:50:59 +08:00
parent b8c286c82c
commit f253b41de8
No known key found for this signature in database
GPG key ID: 8931E8ED1EE2E537

View file

@ -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.