Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
resolution.hh
Go to the documentation of this file.
1#pragma once
3
5
6namespace nix {
7
8class Store;
9
10namespace derivation {
11
23bool shouldResolve(const Full & drv);
24
34std::optional<Basic> tryResolve(const Full & drv, Store & store, Store * evalStore = nullptr);
35
41std::optional<Basic> tryResolve(
42 const Full & drv,
43 Store & store,
44 fun<std::optional<StorePath>(ref<const SingleDerivedPath> drvPath, const std::string & outputName)>
45 queryResolutionChain);
46
52Full unresolve(const Basic & drv);
53
54} // namespace derivation
55
56} // namespace nix
Definition store-api.hh:397
Definition derivation-options.cc:339
Derivation< std::set< SingleDerivedPath > > Full
Derivation that depends on the outputs of other derivations in addition.
Definition derivations.hh:168
Derivation< StorePathSet > Basic
Derivation that depends only on other store objects.
Definition derivations.hh:160
Full unresolve(const Basic &drv)
Definition resolution.cc:14
bool shouldResolve(const Full &drv)
Definition resolution.cc:24
std::optional< Options< StorePath > > tryResolve(const Options< SingleDerivedPath > &drvOptions, fun< std::optional< StorePath >(ref< const SingleDerivedPath > drvPath, const std::string &outputName)> queryResolutionChain)
Definition derivation-options.cc:375