Release 2.7 (2022-03-07)
-
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.<system>→packages.<system>.defaultdefaultApps.<system>→apps.<system>.defaultdefaultTemplate→templates.defaultdefaultBundler.<system>→bundlers.<system>.defaultoverlay→overlays.defaultdevShell.<system>→devShells.<system>.default
The old flake output attributes still work, but
nix flake checkwill warn about them. -
Breaking API change:
nix bundlenow supports bundlers of the formbundler.<system>.<name>= derivation: another-derivation;. This supports additional functionality to inspect evaluation information during bundling. A new repository has various bundlers implemented. -
nix store pingnow 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
welcomeTextattribute, which is printed out bynix flake {init,new} --template <template>.