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 | |
parent | 639659dec22ed0016ce83dce79ff2aa46d83b0ab (diff) | |
parent | 3a2b3af82428dd691b1871243e44daeff9920fb4 (diff) |
Merge branch 'master' into paths-from-stdin
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/src/installation/prerequisites-source.md | 5 | ||||
-rw-r--r-- | doc/manual/src/release-notes/rl-next.md | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/manual/src/installation/prerequisites-source.md b/doc/manual/src/installation/prerequisites-source.md index 6f4eb3008..5a708f11b 100644 --- a/doc/manual/src/installation/prerequisites-source.md +++ b/doc/manual/src/installation/prerequisites-source.md @@ -71,3 +71,8 @@ <http://libcpuid.sourceforge.net>. This is an optional dependency and can be disabled by providing a `--disable-cpuid` to the `configure` script. + + - Unless `./configure --disable-tests` is specified, GoogleTest (GTest) and + RapidCheck are required, which are available at + <https://google.github.io/googletest/> and + <https://github.com/emil-e/rapidcheck> respectively. 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 |