Releases: DeterminateSystems/nix-installer
v0.17.1
This release bumps the installed-by-default Nix version to 2.20.5, addressing CVE-2024-27297.
What's Changed
Full Changelog: v0.17.0...v0.17.1
v0.17.0
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
- Cargo.lock: update h2 by @cole-h in #830
- Document how to get started on GitLab by @Hoverbear in #841
- Nix 2.20.3 by @cole-h in #856
- Update dependencies by @cole-h in #858
Full Changelog: v0.16.1...v0.17.0
v0.16.1
This release bumps us to Nix 2.19.3!
What's Changed
- Add readme entry for PR 772 by @Hoverbear in #809
- fixup uninstall tag links by @cole-h in #812
- Bump to Nix 2.19.3 by @Hoverbear in #820
Full Changelog: v0.16.0...v0.16.1
v0.16.0
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
- MacOS installer does not honor case sensitive setting by @Hoverbear in #748
- Don't modify shell profile files if they are symlinks by @Hoverbear in #767
- Fix arm64 darwin install by @Hoverbear in #789
- Fix
adduser
so it doesn't create the home by @Hoverbear in #801
What's Changed
- Fetch
nix
version freshness from install.determinate.systems by default by @grahamc in #772 - Clippy nits while hacking around by @grahamc in #737
- nix-2.19.2 by @Hoverbear in #756
- Update deps by @Hoverbear in #771 #800
- fix create build users action description by @Hoverbear in #788
Full Changelog: v0.15.1...v0.16.0
v0.15.1
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
- @timsutton made their first contribution in #706
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
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
- Update ssl-cert-file docs by @lytedev in #671
- Make our Nix installation immune to macOS upgrades by @grahamc in #672
- Release v0.14.0 by @Hoverbear in #679
New Contributors
Full Changelog: v0.13.1...v0.14.0
v0.13.1
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
- Unmount apfs volumes before deleting them by @Hoverbear in #662
- Upgrade to Nix 2.18.1 by @Hoverbear in #661
- flake-compat: use flakehub by @grahamc in #663
- Update nix-config-parser to use indexmap by @Hoverbear in #664
- Update deps by @Hoverbear in #665
- Release v0.13.1 by @Hoverbear in #666
Full Changelog: v0.13.0...v0.13.1
v0.13.0
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
- v0.12.1-unreleased by @Hoverbear in #644
- Revert "Make nix.conf changes deterministic (#620)" by @Hoverbear in #648
- Release v0.12.1 by @Hoverbear in #649
- Revert "Release v0.12.1" by @Hoverbear in #650
- Reintroduce 640, 638, 627 by @Hoverbear in #651
- Release v0.13.0 by @Hoverbear in #652
Full Changelog: v0.12.0...v0.13.0
v0.12.0
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
- (Mac) Uninvert EnableOwnership logic by @Hoverbear in #623
What's Changed
- Language and readme update by @grahamc in #612
- Update README.md a bit to highlight flakes by @grahamc in #616
- Bump dependencies by @Hoverbear in #619
- Readme cutificiation by @Hoverbear in #618
- Add Upgrading section to README.md by @mig4ng in #598
- Improve
--help
by @Hoverbear in #624 - Check for file existence before attempting to open it by @Hoverbear in #626
- Fix uninstall instructions by @Hoverbear in #631
- Make nix.conf changes deterministic by @Hoverbear in #620
- Set max jobs to auto by @Hoverbear in #627
- Support user-defined diagnostics attribution by @grahamc in #635
- Add support for URLs or paths in --nix-package-url and --extra-conf by @Hoverbear in #634
- Disable auto-allocate-uids on Linux too by @Hoverbear in #638
- Upgrade to Nix 2.18 by @Hoverbear in #637
- Plan prompts for sudo by @Hoverbear in #639
- Enable repl-flake experimental feature by @Hoverbear in #640
- Fixup VM tests by @Hoverbear in #642
- Tweak nix-build-user-count default in all places by @Hoverbear in #643
- Release v0.12.0 by @Hoverbear in #641
New Contributors
Full Changelog: v0.11.0...v0.12.0
v0.11.0
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
- Remove local eclint package definition by @lucperkins in #537
- Turn off auto optimise store on mac by @Hoverbear in #542
- Support create_directory paths being an existing mount by @Hoverbear in #547
- Remove atty dependency by @Hoverbear in #554
launchctl bootstrap
fails with disabled in a dirty state by @Hoverbear in #555- Add tracing around the Github Actions reinstall issue by @Hoverbear in #541
- Offer better messaging around user/group creation by @Hoverbear in #557
- Tweak self-test reporting to make it more clear it may not be a total failure by @Hoverbear in #559
- Add pre install/uninstall checks to planners by @Hoverbear in #561
- Disable steam deck CI until #566 by @Hoverbear in #571
- Fix most clippy warnings by @Hofer-Julian in #572
- Remove unneeded lifetime by @Hofer-Julian in #573
- Let typescript action set runner as trusted and do Github path by @Hoverbear in #568
- DS-970: Add Magic Nix Cache and other workflow changes by @flexiondotorg in #569
- Teach installer about Clear Linux by @Hoverbear in #581
- Add support for ostree-based Linux distributions by @Hofer-Julian in #586
- Fix the Mac CI with Silverblue by @Hoverbear in #591
- Make self-test errors a warning only by @Hoverbear in #587
- Update installer to Nix 2.17 #DS-1032 by @flexiondotorg in #597
- Check versions on uninstall for safety by @Hoverbear in #579
- Improve the message when security delete-generic-password is required by @Hoverbear in #570
- Enable clippy on CI by @Hoverbear in #574
New Contributors
- @Hofer-Julian made their first contribution in #572
- @flexiondotorg made their first contribution in #569
Full Changelog: v0.10.0...v0.11.0