2021-12-13 15:48:44 +00:00
|
|
|
# Release X.Y (202?-??-??)
|
2022-04-18 17:21:47 +00:00
|
|
|
|
2022-04-24 16:23:49 +00:00
|
|
|
* Nix now provides better integration with zsh's run-help feature. It is now
|
|
|
|
included in the Nix installation in the form of an autoloadable shell
|
|
|
|
function, run-help-nix. It picks up Nix subcommands from the currently typed
|
|
|
|
in command and directs the user to the associated man pages.
|
|
|
|
|
2022-04-18 17:21:47 +00:00
|
|
|
* `nix repl` has a new build-'n-link (`:bl`) command that builds a derivation
|
|
|
|
while creating GC root symlinks.
|
2022-03-19 18:16:05 +00:00
|
|
|
|
2022-04-21 20:41:37 +00:00
|
|
|
* The path produced by `builtins.toFile` is now allowed to be imported or read
|
|
|
|
even with restricted evaluation. Note that this will not work with a
|
|
|
|
read-only store.
|
2022-04-22 09:11:01 +00:00
|
|
|
|
2022-03-19 18:16:05 +00:00
|
|
|
* `nix build` has a new `--print-out-paths` flag to print the resulting output paths.
|
|
|
|
This matches the default behaviour of `nix-build`.
|
2022-04-22 13:17:01 +00:00
|
|
|
|
|
|
|
* You can now specify which outputs of a derivation `nix` should
|
|
|
|
operate on using the syntax `installable^outputs`,
|
|
|
|
e.g. `nixpkgs#glibc^dev,static` or `nixpkgs#glibc^*`. By default,
|
|
|
|
`nix` will use the outputs specified by the derivation's
|
|
|
|
`meta.outputsToInstall` attribute if it exists, or all outputs
|
|
|
|
otherwise.
|
|
|
|
|
|
|
|
Selecting derivation outputs using the attribute selection syntax
|
|
|
|
(e.g. `nixpkgs#glibc.dev`) no longer works.
|