nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 2 million installs.

LGPL-2.1 License

Downloads
12
Stars
2.1K
Committers
20

Bot releases are visible (Hide)

nix-installer - v0.26.2

Published by grahamc 29 days ago

nix-installer - v0.26.1

Published by grahamc about 1 month ago

This release resolves a race condition and instability when running determinate-nixd login right after startup.

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.26.0...v0.26.1

nix-installer - v0.26.0

Published by cole-h about 1 month 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: https://github.com/NixOS/nix/issues/10892


What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.25.0...v0.26.0

nix-installer - v0.25.0

Published by grahamc about 1 month ago

nix-installer - v0.24.0

Published by cole-h about 2 months ago

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, https://github.com/NixOS/nix/issues/11387).

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.23.0...v0.24.0

nix-installer - v0.23.0

Published by cole-h about 2 months ago

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: https://github.com/NixOS/nix/issues/11387.
  • All new macOS installations will now have a build GID of 350 and build UIDs that start at 351 (for nixbld1), 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

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.22.0...v0.23.0

nix-installer - v0.22.0 Latest Release

Published by grahamc about 2 months ago

nix-installer - v0.21.0

Published by cole-h 2 months ago

This release has a few important-to-note changes:

What's Changed

New Contributors

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.20.2...v0.21.0

nix-installer - v0.20.2

Published by cole-h 3 months ago

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: https://github.com/DeterminateSystems/nix-installer/compare/v0.20.1...v0.20.2

nix-installer - v0.20.1

Published by cole-h 3 months ago

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

New Contributors

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.20.0...v0.20.1

nix-installer - v0.20.0

Published by cole-h 4 months ago

This release bumps the installed-by-default Nix version to 2.23.1, addressing CVE-2024-38531 (https://github.com/NixOS/nix/security/advisories/GHSA-q82p-44mg-mgh5).

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.19.1...v0.20.0

nix-installer - v0.19.1

Published by github-actions[bot] 5 months ago

This release includes one significant change to the installer's behavior: it now sets always-allow-substitutes = true by default in nix.conf. Beyond that, changes include some additional README documentation of CLI flags and environment variables, new testing suites for ARM64, and a standard round of Rust dependency updates.

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.19.0...v0.19.1

nix-installer - v0.19.0

Published by cole-h 6 months ago

This release includes a couple of improvements:

  1. On all targets, we bundle the default Nix version we install into the installer binary itself.
  2. On macOS, we give a better error message when a device policy would prevent mounting the internal Nix Store volume we want to create.

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.18.0...v0.19.0

nix-installer - v0.18.0

Published by github-actions[bot] 6 months ago

This release bumps the installed-by-default Nix version to 2.21.2 and fixes a couple bugs.

For more information on what goodies this Nix release brings, take a look at their release notes.

Bug Fixes

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.17.1...v0.18.0

nix-installer - v0.17.1

Published by github-actions[bot] 8 months ago

This release bumps the installed-by-default Nix version to 2.20.5, addressing CVE-2024-27297.

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.17.0...v0.17.1

nix-installer - v0.17.0

Published by github-actions[bot] 8 months ago

This release bumps the installed-by-default Nix version to 2.20.3 and fixes a couple bugs.

Nix 2.20.3

The upgrade to Nix 2.20.3 brings with it a backwards incompatible change for nix search:

  • "nix search now requires a search regex to be passed. To show all packages, use ^."

For more information on what goodies this Nix release brings, take a look at their release notes.

Bug Fixes

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.16.1...v0.17.0

nix-installer - v0.16.1

Published by github-actions[bot] 9 months ago

This release bumps us to Nix 2.19.3!

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.16.0...v0.16.1

nix-installer - v0.16.0

Published by github-actions[bot] 9 months ago

This is mostly bug fix and nix version bump release.

We now install Nix 2.19.2 by default. In addition https://github.com/DeterminateSystems/nix-installer/pull/772 means that nix upgrade-nix should no longer result in your Nix version downgrading.

Bug Fixes

What's Changed

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.15.1...v0.16.0

nix-installer - v0.15.1

Published by github-actions[bot] 11 months ago

This release is mostly a bugfix release.

For folks using MacOS remote builders, we now apply a to have nix on the SSH session PATH automatically.

Bug Fixes

What's Changed

New Contributors

Other Notes

Keen observers may have noticed v0.15.0 in https://github.com/DeterminateSystems/nix-installer/pull/728, unfortunately the Cargo.lock didn't get updated and it wasn't noticed until after tagging. We could have updated the lock, and re-released, but we'd already built the binaries for the tag. In order to be safe, we cut a 0.15.1. If you happen to use 0.15.0 it should still work, building might just result in a dirty Cargo.lock.

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.14.0...v0.15.1

nix-installer - v0.14.0

Published by github-actions[bot] about 1 year ago

This is a relatively minor release which introduces a brand new repair subcommand which can repair your shell profiles.

For example, this means if you run:

nix-installer install --no-confirm
rm -rf /etc/bashrc
nix-installer repair

The repair subcommand should create a new /etc/bashrc with the Nix related content in it.

For Mac users in particular, this repair command is now run by a oneshot launchd service on boot. This should make it so nix should be on path even after Mac version updates that would normally remove it.

What's Changed

New Contributors

Full Changelog: https://github.com/DeterminateSystems/nix-installer/compare/v0.13.1...v0.14.0