1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 08:17:01 +00:00

hercules-ci-agent: fix crash calling security

this applies the same fix that was used for the cachix agent in e043606b50
This commit is contained in:
zowoq 2024-05-21 23:16:46 +10:00
parent ffc01182f9
commit 251eaabfa0

View file

@ -25,7 +25,7 @@ in
launchd.daemons.hercules-ci-agent = {
script = "exec ${cfg.package}/bin/hercules-ci-agent --config ${cfg.tomlFile}";
path = [ config.nix.package ];
path = [ config.nix.package config.environment.systemPath ];
environment = {
NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
};