Closed dhess closed 6 months ago
I've only seen it now, looks similar to https://github.com/NixOS/nixpkgs/issues/297775
So one of the Haskell TLS libraries is calling security
, which isn't in the PATH.
We can either add /usr/bin
to the launchctl paths
, or do something like this https://github.com/tweag/rules_haskell/commit/31171a520f49f263895112678ac93c7ed958ead1
config.environment.systemPath
would probably also work?
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.)