|
std::string | description () override |
|
std::string | doc () override |
|
void | run (ref< Store > store, Installables &&installables) override |
|
void | run (ref< Store > store, 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 |
|
virtual void | applyDefaultInstallables (std::vector< std::string > &rawInstallables) |
|
std::vector< FlakeRef > | getFlakeRefsForCompletion () override |
|
virtual bool | forceImpureByDefault () |
|
virtual 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::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 () |
|
Public Member Functions inherited from nix::StoreCommand |
void | run () override |
|
ref< Store > | getStore () |
|
virtual ref< Store > | getDstStore () |
|
virtual ref< Store > | createStore () |
|
Public Member Functions inherited from nix::Command |
virtual std::optional< ExperimentalFeature > | experimentalFeature () |
|
virtual Category | category () |
|
Bindings * | getAutoArgs (EvalState &state) |
|
void | setEnviron () |
|
|
std::vector< std::string > | command = {getEnv("SHELL").value_or("bash")} |
|
Public Attributes inherited from nix::RawInstallablesCommand |
bool | readFromStdIn = false |
|
MultiCommand * | parent = nullptr |
|
Public Attributes inherited from nix::SourceExprCommand |
std::optional< 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< std::string > | evalStoreUrl |
|
RepairFlag | repair = NoRepair |
|
StringSet | keepVars |
|
StringSet | unsetVars |
|
std::map< std::string, std::string > | setVars |
|
bool | ignoreEnvironment |
|