Warning
This program is experimental and its interface is subject to change.
Name
nix store submit-output - submit a store object as one of the outputs of the derivation currently being built
Synopsis
nix store submit-output [option…] path output
Examples
-
To submit a given store object as the output named
out:# nix store submit-output /nix/store/h6zs50y2662apmnbcnhnbxll76lv02yy-hello-2.12.3 out
Description
nix store submit-output registers a store object as an output of the currently-running derivation.
It only functions when running inside a content-addressing derivation with the builder-rpc-v0
system feature, which provides a limited daemon socket to the builder.
Execution in any other environment will fail.
Options
Logging-related options
-
Set the logging verbosity level to ‘debug’.
-
--log-formatformatSet the format of log output; one of
raw,internal-json,barorbar-with-logs. -
--print-build-logs/-LPrint full build logs on standard error.
-
Decrease the logging verbosity level.
-
--verbose/-vIncrease the logging verbosity level.
Miscellaneous global options
-
Show usage information.
-
Disable substituters and consider all previously downloaded files up-to-date.
-
--optionname valueSet the Nix configuration setting name to value (overriding
nix.conf). -
Consider all previously downloaded files out-of-date.
-
Show version information.
Note
See
man nix.conffor overriding configuration settings with command line flags.