Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
drv-output-substitution-goal.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include <thread>
5
#include <future>
6
7
#include "
nix/store/store-api.hh
"
8
#include "
nix/store/build/goal.hh
"
9
#include "
nix/store/realisation.hh
"
10
#include "
nix/util/muxable-pipe.hh
"
11
12
namespace
nix {
13
14
class
Worker
;
15
26
class
DrvOutputSubstitutionGoal :
public
Goal
27
{
28
friend
class
Worker;
29
33
DrvOutput
id;
34
35
public
:
36
DrvOutputSubstitutionGoal(
const
DrvOutput
&
id
, Worker &
worker
);
37
42
std::shared_ptr<const UnkeyedRealisation>
outputInfo
;
43
44
Co<ExitCode>
init();
45
46
std::string
key
()
override
;
47
48
JobCategory
jobCategory
()
const override
49
{
50
return
JobCategory::Substitution
;
51
};
52
};
53
54
}
// namespace nix
nix::DrvOutputSubstitutionGoal::jobCategory
JobCategory jobCategory() const override
Hint for the scheduler, which concurrency limit applies.
Definition
drv-output-substitution-goal.hh:48
nix::DrvOutputSubstitutionGoal::outputInfo
std::shared_ptr< const UnkeyedRealisation > outputInfo
Definition
drv-output-substitution-goal.hh:42
nix::DrvOutputSubstitutionGoal::key
std::string key() override
Definition
drv-output-substitution-goal.cc:73
nix::Worker
Definition
worker.hh:110
goal.hh
nix::JobCategory
JobCategory
Definition
goal.hh:57
nix::JobCategory::Substitution
@ Substitution
Definition
goal.hh:65
muxable-pipe.hh
realisation.hh
store-api.hh
nix::DrvOutput
Definition
realisation.hh:26
nix::Goal::Co
Definition
goal.hh:272
nix::Goal::worker
Worker & worker
Definition
goal.hh:140
libstore
include
nix
store
build
drv-output-substitution-goal.hh
Generated by
1.18.0