.\" -*- mode: troff; coding: utf-8 -*- .TH "nix3-derivation-add" "1" "" .RS .PP \fBWarning\fR .br This program is \fB\fBexperimental\fR\fR and its interface is subject to change. .RE .SH Name .LP \fCnix derivation add\fR - Add a store derivation .SH Synopsis .LP \fCnix derivation add\fR [\fIoption\fR\[u2026]] .SH Description .LP This command reads from standard input a JSON representation of a \fBstore derivation\fR to which an \fB\fIinstallable\fR\fR evaluates. .PP Store derivations are used internally by Nix. They are store paths with extension \fC.drv\fR that represent the build-time dependency graph to which a Nix expression evaluates. .PP \fCnix derivation add\fR takes a single derivation in the following format: .PP {{#include ../../protocols/json/derivation.md}} .SH Options .IP "\(bu" 3 \fB\fC--dry-run\fR\fR .IP Show what this command would do without doing it. .SS Logging-related options .IP "\(bu" 3 \fB\fC--debug\fR\fR .IP Set the logging verbosity level to \(oqdebug\(cq. .IP "\(bu" 3 \fB\fC--log-format\fR\fR \fIformat\fR .IP Set the format of log output; one of \fCraw\fR, \fCinternal-json\fR, \fCbar\fR or \fCbar-with-logs\fR. .IP "\(bu" 3 \fB\fC--print-build-logs\fR\fR / \fC-L\fR .IP Print full build logs on standard error. .IP "\(bu" 3 \fB\fC--quiet\fR\fR .IP Decrease the logging verbosity level. .IP "\(bu" 3 \fB\fC--verbose\fR\fR / \fC-v\fR .IP Increase the logging verbosity level. .SS Miscellaneous global options .IP "\(bu" 3 \fB\fC--help\fR\fR .IP Show usage information. .IP "\(bu" 3 \fB\fC--offline\fR\fR .IP Disable substituters and consider all previously downloaded files up-to-date. .IP "\(bu" 3 \fB\fC--option\fR\fR \fIname\fR \fIvalue\fR .IP Set the Nix configuration setting \fIname\fR to \fIvalue\fR (overriding \fCnix.conf\fR). .IP "\(bu" 3 \fB\fC--refresh\fR\fR .IP Consider all previously downloaded files out-of-date. .IP "\(bu" 3 \fB\fC--version\fR\fR .IP Show version information. .RS .LP \fBNote\fR .PP See \fB\fCman nix.conf\fR\fR for overriding configuration settings with command line flags. .RE