diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-03-02 19:20:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 19:20:51 +0100 |
commit | 1f394d2107fd2de511ab95516c1ea77f31a2baaa (patch) | |
tree | fefb6d3346fca06513744ffd42d34ff1add0ca14 /doc/manual/src/release-notes/rl-next.md | |
parent | 639659dec22ed0016ce83dce79ff2aa46d83b0ab (diff) | |
parent | 3a2b3af82428dd691b1871243e44daeff9920fb4 (diff) |
Merge branch 'master' into paths-from-stdin
Diffstat (limited to 'doc/manual/src/release-notes/rl-next.md')
-rw-r--r-- | doc/manual/src/release-notes/rl-next.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md index dbd2e88f7..c78b20eed 100644 --- a/doc/manual/src/release-notes/rl-next.md +++ b/doc/manual/src/release-notes/rl-next.md @@ -3,3 +3,20 @@ * Commands which take installables on the command line can now read them from the standard input if passed the `--stdin` flag. This is primarily useful when you have a large amount of paths which exceed the OS arg limit. + +* The special handling of an [installable](../command-ref/new-cli/nix.md#installables) with `.drv` suffix being interpreted as all of the given [store derivation](../glossary.md#gloss-store-derivation)'s output paths is removed, and instead taken as the literal store path that it represents. + + The new `^` syntax for store paths introduced in Nix 2.13 allows explicitly referencing output paths of a derivation. + Using this is better and more clear than relying on the now-removed `.drv` special handling. + + For example, + ```shell-session + $ nix path-info /nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv + ``` + + now gives info about the derivation itself, while + + ```shell-session + $ nix path-info /nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv^* + ``` + provides information about each of its outputs.
\ No newline at end of file |