|
| std::string | description () override |
| std::string | doc () override |
| Category | category () override |
| void | run (ref< Store > srcStore, BuiltPaths &&allPaths, BuiltPaths &&rootPaths) override |
| Public Member Functions inherited from nix::CopyCommand |
| ref< StoreConfig > | createStoreConfig () override |
|
ref< Store > | getDstStore () |
| Public Member Functions inherited from nix::StoreCommand |
| void | run (ref< StoreConfig >) override |
| ref< Store > | getStore () |
|
ref< Store > | createStore () |
| Public Member Functions inherited from nix::StoreConfigCommand |
| void | run () override |
| ref< StoreConfig > | getStoreConfig () |
| Public Member Functions inherited from nix::Command |
| virtual std::optional< ExperimentalFeature > | experimentalFeature () |
|
virtual bool | forceImpureByDefault () |
| virtual std::filesystem::path | getCommandBaseDir () const |
| | Get the base directory for the command.
|
|
void | addFlag (Flag &&flag) |
|
void | removeFlag (const std::string &longName) |
|
void | expectArgs (ExpectedArg &&arg) |
| void | expectArg (const std::string &label, std::string *dest, bool optional=false) |
| void | expectArg (const std::string &label, std::filesystem::path *dest, bool optional=false) |
| void | expectArgs (const std::string &label, std::vector< std::string > *dest) |
|
virtual nlohmann::json | toJSON () |
| RootArgs & | getRoot () |
| Public Member Functions inherited from nix::BuiltPathsCommand |
|
| BuiltPathsCommand (bool recursive=false) |
| void | run (ref< Store > store, Installables &&installables) override |
| void | applyDefaultInstallables (std::vector< std::string > &rawInstallables) override |
| Public Member Functions inherited from nix::InstallablesCommand |
| void | run (ref< Store > store, std::vector< std::string > &&rawInstallables) override |
| Public Member Functions inherited from nix::RawInstallablesCommand |
| void | run (ref< Store > store) override |
| std::vector< FlakeRef > | getFlakeRefsForCompletion () override |
| Public Member Functions inherited from nix::SourceExprCommand |
|
Installables | parseInstallables (ref< Store > store, std::vector< std::string > ss) |
|
ref< Installable > | parseInstallable (ref< Store > store, const std::string &installable) |
|
virtual Strings | getDefaultFlakeAttrPaths () |
|
virtual Strings | getDefaultFlakeAttrPathPrefixes () |
| void | completeInstallable (AddCompletions &completions, std::string_view prefix) |
| CompleterClosure | getCompleteInstallable () |
| Public Member Functions inherited from nix::EvalCommand |
|
ref< Store > | getEvalStore () |
|
ref< EvalState > | getEvalState () |
|
const Bindings * | getAutoArgs (EvalState &state) |
|
void | updateProfile (Store &store, const StorePath &storePath) |
|
void | updateProfile (Store &store, const BuiltPaths &buildables) |
|
|
std::optional< std::filesystem::path > | outLink |
|
SubstituteFlag | substitute = NoSubstitute |
| Public Attributes inherited from nix::CopyCommand |
|
std::optional< StoreReference > | srcUri |
|
std::optional< StoreReference > | dstUri |
| MultiCommand * | parent = nullptr |
| Public Attributes inherited from nix::RawInstallablesCommand |
|
bool | readFromStdIn = false |
| Public Attributes inherited from nix::SourceExprCommand |
|
std::optional< std::filesystem::path > | file |
|
std::optional< std::string > | expr |
|
flake::LockFlags | lockFlags |
| Public Attributes inherited from nix::EvalCommand |
|
bool | startReplOnEvalErrors = false |
|
bool | ignoreExceptionsDuringTry = false |
|
LookupPath | lookupPath |
|
std::optional< StoreReference > | evalStoreUrl |
|
RepairFlag | repair = NoRepair |
|
OperateOn | operateOn = OperateOn::Output |
|
std::optional< std::filesystem::path > | profile |
|
CheckSigsFlag | checkSigs = CheckSigs |