.\" -*- mode: troff; coding: utf-8 -*- .TH "nix3-store-add-path" "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 store add-path\fR - Deprecated alias to \fB\fCnix store add\fR\fR. .SH Synopsis .LP \fCnix store add-path\fR [\fIoption\fR\[u2026]] \fIpath\fR .SH Options .IP "\(bu" 3 \fB\fC--dry-run\fR\fR .IP Show what this command would do without doing it. .IP "\(bu" 3 \fB\fC--hash-algo\fR\fR \fIhash-algo\fR .IP Hash algorithm (\fCmd5\fR, \fCsha1\fR, \fCsha256\fR, or \fCsha512\fR). .IP "\(bu" 3 \fB\fC--mode\fR\fR \fIcontent-address-method\fR .IP How to compute the content-address of the store object. One of: .RS .IP "\(bu" 3 \fCnar\fR (the default): Serialises the input as an archive (following the \fB\fINix Archive Format\fR\fR) and passes that to the hash function. .IP "\(bu" 3 \fCflat\fR: Assumes that the input is a single file and directly passes it to the hash function; .IP "\(bu" 3 \fCtext\fR: Like \fCflat\fR, but used for \fBderivations\fR serialized in store object and \fB\fCbuiltins.toFile\fR\fR. For advanced use-cases only; for regular usage prefer \fCnar\fR and \(gaflat. .RE .IP "\(bu" 3 \fB\fC--name\fR\fR / \fC-n\fR \fIname\fR .IP Override the name component of the store path. It defaults to the base name of \fIpath\fR. .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