diff options
| author | Sander <hey@sandydoo.me> | 2024-05-16 17:55:14 +0400 |
|---|---|---|
| committer | Sander <hey@sandydoo.me> | 2024-05-16 18:04:33 +0400 |
| commit | e043606b50526f4b9eb14d983f406acec9548962 (patch) | |
| tree | 591b59570b56df81c409ada7add67572bd66c0ed /modules | |
| parent | de8b0d60d6fd34f35abffc46adc94ebaa6996ce2 (diff) | |
cachix-agent: fix crash calling `security`
One of cachix-agent's dependencies, `hs-certificate`, makes calls to
`security`. This lives in `/usr/bin`, which isn't available from
launchd. This commit makes the system paths available to cachix-agent.
Fixes #924.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/services/cachix-agent.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/cachix-agent.nix b/modules/services/cachix-agent.nix index 0095d65..d9e4a90 100644 --- a/modules/services/cachix-agent.nix +++ b/modules/services/cachix-agent.nix @@ -58,7 +58,7 @@ in { exec ${cfg.package}/bin/cachix deploy agent ${cfg.name} ''; - path = [ config.nix.package pkgs.coreutils ]; + path = [ config.nix.package pkgs.coreutils config.environment.systemPath ]; environment = { NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; |
