|
std::string | description () override |
|
std::string | doc () override |
|
Category | category () override |
|
void | printSize (std::ostream &str, uint64_t value) |
|
void | run (ref< Store > store, StorePaths &&storePaths) override |
|
Public Member Functions inherited from nix::StorePathsCommand |
| StorePathsCommand (bool recursive=false) |
|
void | run (ref< Store > store, BuiltPaths &&allPaths, BuiltPaths &&rootPaths) override |
|
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 |
|
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 () |
|
Bindings * | getAutoArgs (EvalState &state) |
|