summaryrefslogtreecommitdiff
path: root/modules/services
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2024-05-21 23:16:46 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2024-05-21 23:16:46 +1000
commit251eaabfa0f421a864e75e6b1a23c2c73e7bc332 (patch)
tree35477112925aa83fdb40db4e97ad4ab22f0db35f /modules/services
parentffc01182f90118119930bdfc528c1ee9a39ecef8 (diff)
hercules-ci-agent: fix crash calling `security`
this applies the same fix that was used for the cachix agent in e043606b50526f4b9eb14d983f406acec9548962
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/hercules-ci-agent/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/hercules-ci-agent/default.nix b/modules/services/hercules-ci-agent/default.nix
index d9fbf37..fc3d952 100644
--- a/modules/services/hercules-ci-agent/default.nix
+++ b/modules/services/hercules-ci-agent/default.nix
@@ -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";
};