New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cachix-agent
service dies at launch
#924
Comments
dhess
changed the title
Apr 6, 2024
cachix-agent
services dies at launchcachix-agent
service dies at launch
I've only seen it now, looks similar to NixOS/nixpkgs#297775 |
So one of the Haskell TLS libraries is calling We can either add |
|
sandydoo
added a commit
to sandydoo/nix-darwin
that referenced
this issue
May 16, 2024
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 LnL7#924.
sandydoo
added a commit
to sandydoo/nix-darwin
that referenced
this issue
May 16, 2024
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 LnL7#924.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This started happening sometime in the last month or two with
nixpkgs-unstable
:It has something to do with the
PATH
set by thelaunchd
service. I looked at the Cachix agent source and didn't see anything obvious, and have run out of time to debug it properly, but FYI adding/usr/bin
to thelaunchd
service'sPATH
fixes the problem.(I suspected
coreutils
and addedcoreutils-full
to the path, but that did not fix the issue on my system.)The text was updated successfully, but these errors were encountered: