Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
full-inputs.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
nix/store/path.hh
"
5
#include "
nix/store/derived-path-map.hh
"
6
7
#include <set>
8
9
namespace
nix {
10
11
struct
SingleDerivedPath
;
12
13
}
// namespace nix
14
15
namespace
nix::derivation
{
16
22
struct
FullInputs
23
{
27
StorePathSet
srcs
;
31
DerivedPathMap<std::set<OutputName, std::less<>
>>
drvs
;
32
33
bool
operator==(
const
FullInputs
&)
const
=
default
;
34
38
std::set<SingleDerivedPath>
toSet
()
const
;
39
43
static
FullInputs
fromSet
(
const
std::set<SingleDerivedPath> & inputs);
44
};
45
55
bool
hasDynamicDrvDep
(
const
FullInputs
& inputs);
56
57
}
// namespace nix::derivation
derived-path-map.hh
path.hh
nix::derivation
Definition
derivation-options.cc:339
nix::derivation::hasDynamicDrvDep
bool hasDynamicDrvDep(const FullInputs &inputs)
Definition
full-inputs.cc:68
nix::DerivedPathMap
Definition
derived-path-map.hh:32
nix::SingleDerivedPath
Definition
derived-path.hh:105
nix::derivation::FullInputs
Definition
full-inputs.hh:23
nix::derivation::FullInputs::fromSet
static FullInputs fromSet(const std::set< SingleDerivedPath > &inputs)
Definition
full-inputs.cc:38
nix::derivation::FullInputs::toSet
std::set< SingleDerivedPath > toSet() const
Definition
full-inputs.cc:10
nix::derivation::FullInputs::drvs
DerivedPathMap< std::set< OutputName, std::less<> > > drvs
Definition
full-inputs.hh:31
nix::derivation::FullInputs::srcs
StorePathSet srcs
Definition
full-inputs.hh:27
libstore
include
nix
store
derivation
full-inputs.hh
Generated by
1.18.0