|
| std::string | description () override |
| std::string | doc () override |
| void | run (ref< Store > store, Installables &&installables) 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 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::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 (ref< StoreConfig >) override |
| ref< Store > | getStore () |
|
ref< Store > | createStore () |
| Public Member Functions inherited from nix::StoreConfigCommand |
| void | run () override |
| ref< StoreConfig > | getStoreConfig () |
|
virtual ref< StoreConfig > | createStoreConfig () |
| Public Member Functions inherited from nix::Command |
| virtual std::optional< ExperimentalFeature > | experimentalFeature () |
|
virtual Category | category () |
|
const Bindings * | getAutoArgs (EvalState &state) |
|
| MixOutLinkBase (const std::optional< std::filesystem::path > &defaultOutLink) |
| void | createOutLinksMaybe (const BuiltPaths &paths, ref< Store > &store) |
| void | createOutLinksMaybe (const std::vector< BuiltPathWithResult > &buildables, ref< Store > &store) |
| template<typename T, typename = std::enable_if_t<std::is_same_v<T, nlohmann::json>>> |
| void | printJSON (const T &json) |
|
void | updateProfile (Store &store, const StorePath &storePath) |
|
void | updateProfile (Store &store, const BuiltPaths &buildables) |
|
void | printOutPathsMaybe (const BuiltPaths &paths, ref< Store > store) |
|
|
BuildMode | buildMode = bmNormal |
| Public Attributes inherited from nix::RawInstallablesCommand |
|
bool | readFromStdIn = false |
| MultiCommand * | parent = nullptr |
| 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 |
| std::optional< std::filesystem::path > | outLink = std::nullopt |
|
bool | dryRun = false |
|
bool | json = false |
|
bool | outputPretty = isTTY(getStandardOutput()) |
|
std::optional< std::filesystem::path > | profile |
|
bool | printOutputPaths = false |