Releases: DeterminateSystems/nix-installer
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
v0.22.0
v0.21.0
This release has a few important-to-note changes:
- It removes support for
i686-linux
(see https://determinate.systems/posts/nix-installer-i686-linux/) - It bumps the installed-by-default Nix version to 2.24.3
- It is the first release with the
--determinate
flag. For more details, see: https://determinate.systems/nix
What's Changed
- Drop a ton of target_os based cfg's to allow more tests and clippies to be caught cross-platform by @grahamc in #1058
- Add troubleshooting doc by @lucperkins in #1037
- Distribute Determinate Nix by @grahamc in #1003
- --determinate fixups by @grahamc in #1068
- Update cache pubkeys by @grahamc in #1076
- In the plan json, specify the action name for every action by @noamraph in #1061
- flesh out some further deployment integration by @grahamc in #1081
- Test --determinate in CI, and fix integration issues by @grahamc in #1084
- Update deps by @cole-h in #1090
- Remove support for i686-linux by @cole-h in #1093
- fixup: socket enablement on older systemd versions by @cole-h in #1094
- Properly fixup socket enablement on older systemd versions by @cole-h in #1095
- Upgrade Nix to 2.24.3 by @cole-h in #1100
- setup_default_profile: don't substitute by @cole-h in #1101
- fixup: add Service= to determinate-nixd.socket by @cole-h in #1102
- Add --determinate container and VM tests by @cole-h in #1103
- Release v0.21.0 by @cole-h in #1091
New Contributors
Full Changelog: v0.20.2...v0.21.0
v0.20.2
This patch release release improves macOS 15 beta fresh install support by handling the case where reading the current system version from SystemVersion.plist
returns the compatibility version 10.16, instead of 15.0.
A huge thank you to @ratbag98 for their assistance in narrowing down the issue and testing out various approaches to resolve the problem!
What's Changed
Full Changelog: v0.20.1...v0.20.2
v0.20.1
This release includes preliminary support for the macOS 15 beta, by relocating the build user UIDs into the 450-499 range. This will only be useful for fresh installations.
What's Changed
- add missing SELinux directives by @kbknapp in #1031
- Prefer launchtl's bootstrap / bootout by @grahamc in #1033
- Preliminary support for macOS 15 beta by @cole-h in #1038
- Upgrade Nix to 2.23.3 by @cole-h in #1039
- Update dependencies by @cole-h in #1040
- Release v0.20.1 by @cole-h in #1042
New Contributors
Full Changelog: v0.20.0...v0.20.1
v0.20.0
This release bumps the installed-by-default Nix version to 2.23.1, addressing CVE-2024-38531 (GHSA-q82p-44mg-mgh5).
What's Changed
- Allow the 'nix' input to point to the Nix repo by @edolstra in #1013
- Run shellcheck on
nix-installer.sh
by @lucperkins in #995 - Upgrade to Nix 2.23.1 (CVE-2024-38531) by @cole-h in #1022
- Update dependencies by @cole-h in #1023
Full Changelog: v0.19.1...v0.20.0