|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <drv-output-substitution-goal.hh>
Public Member Functions | |
| DrvOutputSubstitutionGoal (const DrvOutput &id, Worker &worker, bool isDependency, RepairFlag repair=NoRepair, std::optional< ContentAddress > ca=std::nullopt) | |
| kj::Promise< Result< WorkResult > > | tryNext () noexcept |
| kj::Promise< Result< WorkResult > > | realisationFetched () noexcept |
| kj::Promise< Result< WorkResult > > | outPathValid () noexcept |
| kj::Promise< Result< WorkResult > > | finished () noexcept |
| kj::Promise< Result< WorkResult > > | workImpl () noexcept override |
| JobCategory | jobCategory () const override |
| Hint for the scheduler, which concurrency limit applies. | |
| Public Member Functions inherited from nix::Goal | |
| Goal (Worker &worker, bool isDependency) | |
| kj::Promise< Result< WorkResult > > | work () noexcept |
| virtual void | waiteeDone (GoalPtr waitee) |
| void | trace (std::string_view s) |
| std::string | getName () const |
| virtual void | cleanup () |
Additional Inherited Members | |
| Public Types inherited from nix::Goal | |
| enum | ExitCode { ecSuccess , ecFailed , ecNoSubstituters , ecIncompleteClosure } |
| Public Attributes inherited from nix::Goal | |
| Worker & | worker |
| const bool | isDependency |
| size_t | nrFailed = 0 |
| size_t | nrNoSubstituters = 0 |
| size_t | nrIncompleteClosure = 0 |
| std::string | name |
| Protected Member Functions inherited from nix::Goal | |
| kj::Promise< void > | waitForAWhile () |
| kj::Promise< Result< void > > | waitForGoals (kj::Array< std::pair< GoalPtr, kj::Promise< Result< WorkResult > > > > dependencies) noexcept |
| template<std::derived_from< Goal >... G> | |
| kj::Promise< Result< void > > | waitForGoals (std::pair< std::shared_ptr< G >, kj::Promise< Result< WorkResult > > >... goals) noexcept |
| std::string | lixAsyncTaskContext () const |
| Protected Attributes inherited from nix::Goal | |
| AsyncSemaphore::Token | slotToken |
Substitution of a derivation output. This is done in three steps:
|
inlineoverridevirtual |
|
overridevirtualnoexcept |
Implements nix::Goal.