#include <command-installable-value.hh>
|
virtual void | run (ref< Store > store, ref< InstallableValue > installable)=0 |
|
void | run (ref< Store > store, ref< Installable > installable) override |
|
Public Member Functions inherited from nix::InstallableCommand |
void | run (ref< Store > store) override |
|
std::vector< FlakeRef > | getFlakeRefsForCompletion () override |
|
virtual std::string | description () |
|
virtual bool | forceImpureByDefault () |
|
virtual std::string | doc () |
|
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) |
|
An InstallableCommand where the single positional argument must be an InstallableValue in particular.
◆ run() [1/2]
◆ run() [2/2]
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libcmd/command-installable-value.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libcmd/command-installable-value.cc