mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-28 16:46:16 +02:00
19 lines
536 B
Markdown
19 lines
536 B
Markdown
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]: @docroot@/glossary.md#gloss-store-derivation
|
|
|
|
`nix derivation add` takes a single derivation in the following format:
|
|
|
|
{{#include ../../protocols/json/derivation.md}}
|
|
|
|
)""
|