Releases: DeterminateSystems/nix-installer
v0.27.0
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
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 UniqueID
s 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 ofextra-trusted-substituters
andextra-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
, andlaunchctl 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
v0.25.0
v0.24.0
This release contains the Nix version bump to 2.24.5, which includes a fix for the issue we mentioned in the release notes for https://github.com/DeterminateSystems/nix-installer/releases/tag/v0.23.0 (a regression in substituting store paths with many dependencies, NixOS/nix#11387).
What's Changed
Full Changelog: v0.23.0...v0.24.0
v0.23.0
This release has a couple important-to-note changes:
- It changes the installed-by-default Nix version back to 2.23.3 due an observed regression in substitution. For more information, see the upstream bug report: NixOS/nix#11387.
- All new macOS installations will now have a build GID of
350
and build UIDs that start at 351 (fornixbld1
), in order to be robust against the upcoming macOS Sequoia update. Work is still in progress on implementing a migration helper for existing pre-Sequoia macOS installations; stay tuned for more information.
What's Changed
- Move determinate-nixd to /usr/local/bin/determinate-nixd on Linux by @grahamc in #1120
- Synchronize macOS UIDs and GIDs with upstream scripts to prepare for Sequoia by @cole-h in #1123
- Update and unify limits across systemd and macOS. by @grahamc in #1126
- Print the nix-installer version when it runs by @cole-h in #1127
- Bring LimitNOFILE back down to 1024 * 1024 due to the performance impact of too many FDs by @grahamc in #1128
- Update flake inputs, downgrade Nix to 2.23.3 due to curl issues by @grahamc in #1129
- Update cargo deps by @cole-h in #1130
- Release v0.23.0 by @cole-h in #1131
Full Changelog: v0.22.0...v0.23.0