nix3-derivation-add(1) | General Commands Manual | nix3-derivation-add(1) |
Warning
This program is
experimental
and its interface is subject to change.
nix derivation add - Add a store derivation
nix derivation add [option…]
This command reads from standard input a JSON representation of a store derivation to which an installable 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.
nix derivation add takes a single derivation in the following format:
{{#include ../../protocols/json/derivation.md}}
Note
See man nix.conf for overriding configuration settings with command line flags.