Skip to content

Releases: DeterminateSystems/nix-installer

v0.17.0

23 Feb 20:49
e6117e8
Compare
Choose a tag to compare

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

  • Don't check /run for systemd if we're not starting the daemon by @Hoverbear in #853
  • README updates from amazing contributors by @cole-h in #854

What's Changed

Full Changelog: v0.16.1...v0.17.0

v0.16.1

26 Jan 17:01
7119f93
Compare
Choose a tag to compare

This release bumps us to Nix 2.19.3!

What's Changed

Full Changelog: v0.16.0...v0.16.1

v0.16.0

08 Jan 17:43
fb4401d
Compare
Choose a tag to compare

This is mostly bug fix and nix version bump release.

We now install Nix 2.19.2 by default. In addition #772 means that nix upgrade-nix should no longer result in your Nix version downgrading.

Bug Fixes

What's Changed

Full Changelog: v0.15.1...v0.16.0

v0.15.1

15 Nov 03:32
df9610e
Compare
Choose a tag to compare

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

  • Fix exit code inconsistency by @Hoverbear in #684
  • Remove the writable flag, don't set too many permission bits by @grahamc in #718
  • Nix config: add extra newlines after the initial comment by @grahamc in #719

What's Changed

  • Make sure /etc/tmpfiles.d exists on the ostree planner by @grahamc in #686
  • Document the known nix-darwin related uninstall issue by @Hoverbear in #687
  • Add 'sudo' to suggestions for launchd-related config fixes by @timsutton in #706
  • Don't include the version number in the nix config, for reproducibility by @grahamc in #710
  • Document max-jobs=auto by @mkenigs in #712
  • Support remote-building to macOS hosts by @grahamc in #714

New Contributors

Other Notes

Keen observers may have noticed v0.15.0 in #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: v0.14.0...v0.15.1

v0.14.0

18 Oct 17:47
c79dcb9
Compare
Choose a tag to compare

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: v0.13.1...v0.14.0

v0.13.1

04 Oct 17:21
201fd4a
Compare
Choose a tag to compare

This release upgrades to Nix 2.18.1 and includes a fix for an Mac APFS issue (#647 & #662).

Also, the generated nix.conf should have a consistent outcome order now, as we use an IndexMap instead of a HashMap (#664).

What's Changed

Full Changelog: v0.13.0...v0.13.1

v0.13.0

29 Sep 00:27
d01e1b8
Compare
Choose a tag to compare

This release rolls back #620 as we noticed elevated rates of errors on GHA. We plan to re-approach the problem soon.

What's Changed

Full Changelog: v0.12.0...v0.13.0

v0.12.0

25 Sep 21:07
aed05e9
Compare
Choose a tag to compare

This release upgrades to Nix 2.18, enables the repl-flake feature by default, and sets max-jobs to auto.

Changes to the nix.conf are now deterministic, and the installer should produce the same output each install regardless of the existing configuration.

This release also includes a number of small correctness improvements and UX tweaks.

Bug Fixes

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.12.0

v0.11.0

14 Aug 19:45
329861f
Compare
Choose a tag to compare

It's a v0.11.0! 🎉

This release bumps the Nix version to 2.17 (#597).

Thanks to @Hofer-Julian, we now support Fedora Silverblue, Clear Linux and other OSTree distributions. (#586)

We also rewrote the Github Action in Typescript! v5 includes the Typescript revamp, but there should be no major user facing changes. (DeterminateSystems/nix-installer-action#34).

For Mac users, nix-installer uninstall will now try to see if you have nix-darwin uninstalled and ask you to uninstall that first! Why? Because if you don't, it creates a bit of a mess and a reinstall tends to break things. (#561)

Bug Fixes

  • bugfix: Let Mac users specify encryption directly by @Hoverbear in #546

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

27 Jun 18:09
e3cb372
Compare
Choose a tag to compare

This release includes a number of small features (notably for Mac and SteamOS) as well as additional install validation.

We now support nix's new ssl-cert-file option (NixOS/nix#8062) through our ssl-cert-file option, instead of modifying your shell profiles. This improves install consistency between operating systems and should improve the robustness of SSL support. (#527)

Before completing installation, we now perform a robust self-test. The installer invokes something like this to make sure your system works (#506):

nix build --no-link --expr '
derivation {
  name = "self-test-{executable}-{timestamp_millis}";
  system = "x86_64-linux";
  builder = "/bin/sh"; args = ["-c" "echo hello > \$out"];
}'

For Steam Deck users, if you've been exploring the new main channel releases of the Steam Deck, you may have noticed the appearance of a /home/.steamos/offload/nix folder! We now support the offload if we detect it, otherwise sticking to the old method of creating our own bind mount. (#495)

Primarily benefiting Steam Deck users for now (but also to support #389 in the future) we now do some /etc/os-release heuristics to determine which planner should used by default on your system. This means Steam Deck users shouldn't need to specify the steam-deck planner anymore. (#501)

For Mac users, we added time machine exclusions for /nix since you most likely don't want to back up your Nix store with Time Machine (#480). We were further motivated because it was possible for users to be unable to uninstall Nix because time machine was making a backup. We also now better handle cases where diskutil does not return a volume name (#490).

Unfortunately, our experiment in 0.9.x with the new auto-uid-allocation was not as successful on Mac as it was on Linux. While we've not found any issues with the feature on Linux, on Mac is creates issues in any builds that use something like whoami. For Mac users, the _nixbld user creation has returned, and your Mac installs will feel as fast as they were in 0.8.0. (#524)

Bug fixes

What's Changed

New Contributors

Full Changelog: v0.9.1...v0.10.0