|
|
typedef std::map< std::string, std::optional< StorePath > > | Outputs |
|
|
| DrvInfo (std::string attrPath, Bindings *attrs) |
|
std::string | queryName (EvalState &state) |
|
std::string | querySystem (EvalState &state) |
|
std::optional< StorePath > | queryDrvPath (EvalState &state) |
|
StorePath | requireDrvPath (EvalState &state) |
|
StorePath | queryOutPath (EvalState &state) |
|
std::string | queryOutputName (EvalState &state) |
| Outputs | queryOutputs (EvalState &state, bool withPaths=true, bool onlyOutputsToInstall=false) |
|
StringSet | queryMetaNames (EvalState &state) |
|
Value * | queryMeta (EvalState &state, const std::string &name) |
|
std::string | queryMetaString (EvalState &state, const std::string &name) |
|
NixInt | queryMetaInt (EvalState &state, const std::string &name, NixInt def) |
|
bool | queryMetaBool (EvalState &state, const std::string &name, bool def) |
|
void | setMeta (EvalState &state, const std::string &name, Value *v) |
|
void | setName (const std::string &s) |
|
void | setDrvPath (StorePath path) |
|
void | setOutPath (StorePath path) |
|
void | setFailed () |
|
bool | hasFailed () |
|
|
static kj::Promise< Result< DrvInfo > > | create (ref< Store > store, const std::string &drvPathWithOutputs) |
◆ queryOutputs()
| DrvInfo::Outputs nix::DrvInfo::queryOutputs |
( |
EvalState & | state, |
|
|
bool | withPaths = true, |
|
|
bool | onlyOutputsToInstall = false ) |
Return the unordered map of output names to (optional) output paths. The "outputs to install" are determined by meta.outputsToInstall.
◆ attrPath
| std::string nix::DrvInfo::attrPath |
path towards the derivation
The documentation for this struct was generated from the following files: