Apple released macOS 15 Sequoia today–and beta users previously reported that this update breaks existing Nix installs by clobbering _nixbld1-4 (because macOS now includes system daemons that use the same UIDs).
On existing installs, this should manifest as an error when you run some Nix commands:
error: the user '_nixbld1' in the group 'nixbld' does not exist
We have a migration script to fix existing installs (before or after updating):
The repair tool works for any Nix installation afaik. You can also use the repair tool provided by Lix, which too is compatible with the current official Nix installer:
curl -sSf -L https://install.lix.systems/lix | sh -s -- repair sequoia
For anyone following along, the ~official command picks up the migration script directly from the master branch of the Nix repo so that people get ongoing bugfixes to the migration procedure (if any are necessary) as soon as they’re merged.
It’s also fine to run the repair command implemented in the DetSys installer and/or Lix’s fork of the DetSys installer if you prefer (these roughly follow what we’ve learned about the problem in upstream Nix), though I don’t recommend using a command that hardcodes a version since it may lack future fixes (if any are necessary).