aboutsummaryrefslogtreecommitdiff
path: root/src/nix/nix.md
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-12-20 15:26:05 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-12-21 11:42:22 +0100
commit3a66d82e1da1302586055a70903de2f9a7425087 (patch)
tree16060e9d3caacefb494de67e524d55ab38f4ac91 /src/nix/nix.md
parent62f4f883a7f63380be578ebb6167641ec111b59e (diff)
update description of "store derivation" in installables section
a store derivation is not a store path itself, it has a store path.
Diffstat (limited to 'src/nix/nix.md')
-rw-r--r--src/nix/nix.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nix/nix.md b/src/nix/nix.md
index 723d3c87e..43de6869b 100644
--- a/src/nix/nix.md
+++ b/src/nix/nix.md
@@ -115,12 +115,12 @@ the Nix store. Here are the recognised types of installables:
* **Store derivations**: `/nix/store/p7gp6lxdg32h4ka1q398wd9r2zkbbz2v-hello-2.10.drv`
- Store derivations are store paths with extension `.drv` and are a
- low-level representation of a build-time dependency graph used
- internally by Nix. By default, if you pass a store derivation to a
- `nix` subcommand, it will operate on the *output paths* of the
- derivation. For example, `nix path-info` prints information about
- the output paths:
+ Store derivations are a low-level, internal representation of build tasks in Nix, and have store paths with extension `.drv`.
+ By default, if you pass the path to a store derivation to a `nix` subcommand, the command will operate on the [output path]s of the derivation.
+
+ [output path]: ../../glossary.md#gloss-output-path
+
+ For example, `nix path-info` prints information about the output paths:
```console
# nix path-info --json /nix/store/p7gp6lxdg32h4ka1q398wd9r2zkbbz2v-hello-2.10.drv