Open
Description
Describe the bug
When trying to install/run packages on macOS 26 Developer Beta 1, Nix exits with a "daemon disconnected unexpectedly" error:
Steps To Reproduce
- Install macOS 26 Developer Beta 1
- Install Nix (using either official or Determinate Nix installer; both succeed but Nix fails so I'm assuming it's an error with Nix)
- Try to run e.g.
nix run nixpkgs#hello
ornix shell nixpkgs#hello
- Observe error: "Nix daemon disconnected unexpectedly (maybe it crashed?)"
Expected behavior
nix run nixpkgs#hello
produces "Hello, world!"
Metadata
nix-env (Nix) 2.29.0
Additional context
In /var/log/nix-daemon.log
, there is the following error:
accepted connection from pid 8877, user andre4ik3
objc[8879]: +[NSCharacterSet initialize] may have been in progress in another thread when fork() was called.
objc[8879]: +[NSCharacterSet initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.