|
Done | done (ExitCode result, BuildResult::Status status, std::optional< std::string > errorMsg={}) |
|
| PathSubstitutionGoal (const StorePath &storePath, Worker &worker, RepairFlag repair=NoRepair, std::optional< ContentAddress > ca=std::nullopt) |
|
void | timedOut (Error &&ex) override |
|
std::string | key () override |
|
Co | init () override |
|
Co | gotInfo () |
|
Co | tryToRun (StorePath subPath, nix::ref< Store > sub, std::shared_ptr< const ValidPathInfo > info, bool &substituterFailed) |
|
Co | finished () |
|
void | handleChildOutput (Descriptor fd, std::string_view data) override |
|
void | handleEOF (Descriptor fd) override |
|
void | cleanup () override final |
|
JobCategory | jobCategory () const override |
| Hint for the scheduler, which concurrency limit applies.
|
|
Co | init_wrapper () |
|
Done | amDone (ExitCode result, std::optional< Error > ex={}) |
|
BuildResult | getBuildResult (const DerivedPath &) const |
|
| Goal (Worker &worker, DerivedPath path) |
|
void | work () |
|
void | addWaitee (GoalPtr waitee) |
|
virtual void | waiteeDone (GoalPtr waitee, ExitCode result) |
|
void | trace (std::string_view s) |
|
std::string | getName () const |
|
◆ cleanup()
void nix::PathSubstitutionGoal::cleanup |
( |
| ) |
|
|
finaloverridevirtual |
◆ handleChildOutput()
void nix::PathSubstitutionGoal::handleChildOutput |
( |
Descriptor | fd, |
|
|
std::string_view | data ) |
|
inlineoverridevirtual |
◆ handleEOF()
void nix::PathSubstitutionGoal::handleEOF |
( |
Descriptor | fd | ) |
|
|
overridevirtual |
◆ init()
Goal::Co nix::PathSubstitutionGoal::init |
( |
| ) |
|
|
overridevirtual |
◆ jobCategory()
JobCategory nix::PathSubstitutionGoal::jobCategory |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ key()
std::string nix::PathSubstitutionGoal::key |
( |
| ) |
|
|
inlineoverridevirtual |
We prepend "a$" to the key name to ensure substitution goals happen before derivation goals.
Implements nix::Goal.
◆ timedOut()
void nix::PathSubstitutionGoal::timedOut |
( |
Error && | ex | ) |
|
|
inlineoverridevirtual |
Callback in case of a timeout. It should wake up its waiters, get rid of any running child processes that are being monitored by the worker (important!), etc.
Implements nix::Goal.
◆ ca
Content address for recomputing store path
◆ outPipe
Pipe for the substituter's standard output.
◆ repair
RepairFlag nix::PathSubstitutionGoal::repair |
Whether to try to repair a valid path.
◆ storePath
StorePath nix::PathSubstitutionGoal::storePath |
The store path that should be realised through a substitute.
◆ thr
std::thread nix::PathSubstitutionGoal::thr |
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/build/substitution-goal.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/build/substitution-goal.cc