2023-02-18 01:37:35 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2023-10-23 03:01:01 +03:00
|
|
|
[store derivation]: @docroot@/glossary.md#gloss-store-derivation
|
2023-02-18 01:37:35 +02:00
|
|
|
|
2023-10-23 03:01:01 +03:00
|
|
|
`nix derivation add` takes a single derivation in the following format:
|
|
|
|
|
2024-02-08 10:08:58 +02:00
|
|
|
{{#include ../../protocols/json/derivation.md}}
|
2023-02-18 01:37:35 +02:00
|
|
|
|
|
|
|
)""
|