File: rl-2.7.md

package info (click to toggle)
nix 2.26.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,524 kB
  • sloc: cpp: 87,540; sh: 8,864; perl: 649; yacc: 466; xml: 410; javascript: 378; lex: 329; ansic: 215; python: 128; sql: 56; makefile: 33; exp: 5; ruby: 1
file content (33 lines) | stat: -rw-r--r-- 1,313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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 suggest `thunderbird`.

* A number of "default" flake output attributes have been
  renamed. These are:

  * `defaultPackage.<system>` → `packages.<system>.default`
  * `defaultApps.<system>` → `apps.<system>.default`
  * `defaultTemplate` → `templates.default`
  * `defaultBundler.<system>` → `bundlers.<system>.default`
  * `overlay` → `overlays.default`
  * `devShell.<system>` → `devShells.<system>.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 form
  `bundler.<system>.<name>= derivation: another-derivation;`. This
  supports additional functionality to inspect evaluation information
  during bundling. A new
  [repository](https://github.com/NixOS/bundlers) has various bundlers
  implemented.

* `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 by
  `nix flake {init,new} --template <template>`.