We're pleased to announce the availability of Nix 2.7.0. It will be available from NixOS - Getting Nix / NixOS.
Here are the release notes:
-
Nix will now make some helpful suggestions when you mistype something
on the command line. For instance, if you type nix build
nixpkgs#thunderbrd
, it will suggestthunderbird
. -
A number of “default” flake output attributes have been renamed. These are:
-
defaultPackage.
→packages.
.default -
defaultApps.
→apps.
.default -
defaultTemplate
→templates.default
-
defaultBundler.
→bundlers.
.default -
overlay
→overlays.default
-
devShell.
→devShells.
.default
The old flake output attributes still work, but
nix flake check
will warn about them. -
-
Breaking API change:
nix bundle
now supports bundlers of the formbundler.
. This supports additional functionality to inspect evaluation information during bundling. A new repository 73 has various bundlers implemented.. = derivation: another-derivation; -
nix store ping
now reports the version of the remote Nix daemon. -
nix flake {init,new}
now display information about which files have been created. -
Templates can now define a
welcomeText
attribute, which is printed out bynix flake {init,new} --template
.
The next release 149 is scheduled for . The next release is scheduled for .
Thank you to all the contributors!
Distro