Skip to content

Commit

Permalink
Merge pull request #10593 from NixOS/release-notes
Browse files Browse the repository at this point in the history
2.22 release notes
  • Loading branch information
edolstra authored Apr 23, 2024
2 parents df42466 + b219017 commit 1cfc9da
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
13 changes: 0 additions & 13 deletions doc/manual/rl-next/nix-eval-derivations.md

This file was deleted.

8 changes: 0 additions & 8 deletions doc/manual/rl-next/remove-repl-flake.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/manual/src/SUMMARY.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
- [C++ style guide](contributing/cxx.md)
- [Releases](release-notes/index.md)
{{#include ./SUMMARY-rl-next.md}}
- [Release 2.22 (2024-04-23)](release-notes/rl-2.22.md)
- [Release 2.21 (2024-03-11)](release-notes/rl-2.21.md)
- [Release 2.20 (2024-01-29)](release-notes/rl-2.20.md)
- [Release 2.19 (2023-11-17)](release-notes/rl-2.19.md)
Expand Down
21 changes: 21 additions & 0 deletions doc/manual/src/release-notes/rl-2.22.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Release 2.22.0 (2024-04-23)

### Significant changes

- Remove experimental repl-flake [#10103](https://github.com/NixOS/nix/issues/10103) [#10299](https://github.com/NixOS/nix/pull/10299)

The `repl-flake` experimental feature has been removed. The `nix repl` command now works like the rest of the new CLI in that `nix repl {path}` now tries to load a flake at `{path}` (or fails if the `flakes` experimental feature isn't enabled).

### Other changes

- `nix eval` prints derivations as `.drv` paths [#10200](https://github.com/NixOS/nix/pull/10200)

`nix eval` will now print derivations as their `.drv` paths, rather than as
attribute sets. This makes commands like `nix eval nixpkgs#bash` terminate
instead of infinitely looping into recursive self-referential attributes:

```ShellSession
$ nix eval nixpkgs#bash
«derivation /nix/store/m32cbgbd598f4w299g0hwyv7gbw6rqcg-bash-5.2p26.drv»
```

0 comments on commit 1cfc9da

Please sign in to comment.