mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
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.
This commit is contained in:
parent
de8b0d60d6
commit
e043606b50
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue