aboutsummaryrefslogtreecommitdiff
path: root/src/nix/derivation-add.md
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-17 18:37:35 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-07 08:34:58 -0400
commit59e072871410ba88694cf2597079a9f0f115e458 (patch)
tree50fb7642ffc6bafa527e4f67aa38b0ac1bad9d77 /src/nix/derivation-add.md
parent27597f813126bf0e866c6f6ba35dc7d3761843f8 (diff)
Create `nix derivation add` command
Also refine `nix derivation show`'s docs very slightly.
Diffstat (limited to 'src/nix/derivation-add.md')
-rw-r--r--src/nix/derivation-add.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/nix/derivation-add.md b/src/nix/derivation-add.md
new file mode 100644
index 000000000..f116681ab
--- /dev/null
+++ b/src/nix/derivation-add.md
@@ -0,0 +1,18 @@
+R""(
+
+# Description
+
+This command reads from standard input a JSON representation of a
+[store derivation] to which an [*installable*](./nix.md#installables) evaluates.
+
+Store derivations are used internally by Nix. They are store paths with
+extension `.drv` that represent the build-time dependency graph to which
+a Nix expression evaluates.
+
+[store derivation]: ../../glossary.md#gloss-store-derivation
+
+The JSON format is documented under the [`derivation show`] command.
+
+[`derivation show`]: ./nix3-derivation-show.md
+
+)""