github DeterminateSystems/nix-installer v0.26.0

latest release: v0.26.1
6 days ago

macOS Sequoia

Apple's new macOS version, Sequoia, conflicts with most existing installations of Nix.
This release includes a repair sequoia command that fixes the issue.

Before upgrading to Sequoia, Nix users should run the repair tool:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v0.26.0 | sh -s -- repair sequoia --move-existing-users

Running the repair tool after upgrading to Sequoia will work, too, but Nix will not work until after the repair tool is run.

Who needs to run the repair tool?

Nix users on macOS who installed Nix with the upstream Nix installer, or Determinate Nix Installer v0.22.0 and older.
Run /nix/nix-installer --version to identify the Determinate Nix Installer version used on your system.

The repair tool is safe to run, even if you installed with a Determinate Nix Installer version newer than v0.22.0.

Caveat for advanced users

Users who customized their Nix build users should read the help output of the repair sequoia command by passing the --help flag.

Why is this repair tool required?

macOS Sequoia creates users with UniqueIDs that conflict with Nix's _nixbldN (i.e. _nixbld1) users.
When upgrading to Sequoia, macOS's update tool deletes the conflicting users.

More information

For more information, see the upstream Nix tracking issue: NixOS/nix#10892


What's Changed

  • PlaceNixConfiguration: fix --extra-conf handling of extra-trusted-substituters and extra-trusted-public-keys by @cole-h in #1145
  • nixd.determinate-nixd.socket: Let systemd create the socket's parent directories by @grahamc in #1151
  • CreateDirectory: use /sbin/mount on macOS by @cole-h in #1162
  • Retry launchctl bootstrap, launchctl bootout, and launchctl kickstart a few times by @cole-h in #1146
  • repair: add sequoia subcommand that can migrate build users to the new 351+ UID range by @cole-h in #1143
  • Explicitly pass 'daemon' to determinate-nixd by @grahamc in #1159
  • Release v0.26.0 by @cole-h in #1163

Full Changelog: v0.25.0...v0.26.0

Don't miss a new nix-installer release

NewReleases is sending notifications on new releases.