-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Nix Daemon disconnects on fresh install (MacOS) #12011
Comments
Is there a crash dump in console.app? |
Yes there is. This is the latest one (copied to plaintext instead of .ips): |
Thanks--hopefully that'll light the way. If you need to get Nix running, I'd try uninstalling and then installing some other recent versions to see if this is new trouble (hopefully not something to do with 15.2...). I'd start with the most recent 2.24 and 2.18 releases. |
I just updated MacOS from
|
With the caveat that this may actually be two separate issues (despite the socket being a point of commonality, the exact error and state of the daemon differs): I checked in on Matrix and found at least one person (also running 2.24.10) able to affirm that they've taken the 15.2 update without seeing either of these errors. I'm not familiar with what is going on here, but I'm taking it as a sign that this isn't a global issue with 15.2. Unless someone happens by who knows what's going on: In both cases, it might also help to spend a little time trawling the full device log in Console.app around the time of your invocations and around daemon startup (may need to stop and start it) to see if there's anything that smells related. The only real hunch I've got at the moment is that sometimes people disable a permission at some point (often because they notice something's unhelpfully just listed as "sh" because it's a wrapper and think it looks suspicious) and then an OS update leads to new enforcement/consequences for that previous action. Worth checking for anything like that to toggle it back on for a test. |
Running the update command from the nix manual fixed it for me! |
I tried this and it didn't fix it for me. Same error message |
Seems similar to #11918, which has a comment linking to another potential solution: https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171/5 |
Describe the bug
I uninstalled Nix following the guide for the multi-user install. I then reinstall the multi-user installation of nix. I am running the latest MacOS 15.2 Developer beta. When I run any
nix-shell -p
command, I get the following error:There is no other output.
When I run
launchctl list | grep nix
, there is no output.When I run 'nix-daemon' I get:
Steps To Reproduce
sh <(curl -L https://nixos.org/nix/install)
nix-shell -p nix-info --run "nix-info -m"
or any other nix-shell commandExpected behavior
I should run without error
Metadata
nix-env (Nix) 2.25.3
Additional context
I am running the latest MacOS 15.2 Developer Beta. I have leftover nix files in my system, but I performed the full uninstall procedure listed on the guide.
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: