Releases: NixOS/nix-installer
v2.34.1
v2.34.0
Release nix installer v2.34.0
What's Changed
Nix 2.34.0
- Bumped Nix from 2.33.3 to 2.34.0
Bug Fixes
- self_test: prevent daemon from being used before it is available — Remove NIX_REMOTE from the environment when running nix commands during installation setup. An inherited
NIX_REMOTE=daemon would cause commands to fail trying to connect to a non-existent daemon. (Co-authored-by: @RossComputerGuy) - self_test: time out after 10s — Shell self-tests could hang indefinitely if a shell got stuck during initialization. Added a 10-second timeout that kills the child process and
reports a TimedOut error instead of blocking forever. (Co-authored-by: @cole-h)
Improvements
- self_test: tell the user when running the self tests — Added info-level log when starting each shell self-test and debug-level log listing discovered shells. (Co-authored-by:
@cole-h)
Full Changelog: 2.33.3...2.34.0
v2.33.3-beta
v2.33.2-beta
v2.33.1-beta
This the second beta release of the NixOS Foundation's Nix installer.
Highlights
Embedded Nix Tarball for Offline Installation
The installer now embeds the Nix tarball directly in the binary, eliminating the need for network access during installation. This change also removes the tokio async runtime and the HTTP/TLS stack, reducing the download size by approximately 4 MB.
Link-Time Optimization
Enabled LTO to reduce binary size by ~6.5% (33 MiB → 31 MiB).
What's Changed
GitHub Action Migration
The GitHub Action has been moved to a dedicated repository for faster downloads and easier versioning.
- New repository: https://github.com/NixOS/nix-installer-action
- Migration by @a-kenji and @jfroche in #113
Release Automation
Added automated workflows to bump Nix versions, making it easier to track upstream Nix releases.
Bug Fixes
- Fix safe expansion for
SSH_CONNECTIONandSHLVLenvironment variables by @Mic92 in #68 - Handle consecutive whitespace in fstab revert by @Mic92 in #68
Testing Improvements
- Re-enable VM and container tests in Hydra CI by @Mic92 in #110
- Replace EOL Ubuntu versions (16.04, 18.04, 20.04) with Ubuntu 24.04 by @Mic92 in #111
- Adopt treefmt for consistent code formatting by @Mic92 in #109
- Use fileset for cleaner flake source filtering by @Mic92 in #114
Dependency Cleanup
Removed unused dependencies to reduce compile times and binary size:
- Remove
termcrate dependency by @a-kenji in #99 - Remove
once_celldependency by @a-kenji in #101 - Remove
indexmapdependency by @Mic92 in #103 - Remove
serde_withdependency by @Mic92 in #100 - Remove
strum,uuid, andwhichcrates; disable unused crate features by @Mic92 in #107 - Remove unused cargo config by @a-kenji in #116
- Simplify devshell by @a-kenji in #112
Other Changes
- Bump all transitive crates by @Mic92 in #108
- Adapt to rand 0.9 API changes by @Mic92 in #104
- Upgrade to Rust Edition 2024 by @Mic92 in #109
New Contributors
Full Changelog: 2.33.0...2.33.1
v2.33.0-beta
This is a beta release of our Nix installer.
v0.27.0-experimental-prerelease
Test release of experimental nix installer roughly equivalent to upstream's v0.27.0.
Warning
The release process and version scheme for this installer are undecided. This prerelease may disappear (or its contents may change) without notice.
Please wait for official releases before building this into production systems or public-facing documentation.