aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/release-notes/rl-next.md
blob: d81e54e49f5b92782a3110f716f3974f39d60724 (plain)
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
# Release X.Y (202?-??-??)

* 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.

* `nix bundle` breaking API change 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>`.

* Nix can now be built with LTO by passing `--enable-lto` to `configure`.
  LTO is currently only supported when building with GCC.