Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
installable-derived-path.hh
Go to the documentation of this file.
1#pragma once
3
5
6namespace nix {
7
8struct InstallableDerivedPath : Installable
9{
10 ref<Store> store;
11 DerivedPath derivedPath;
12
13 InstallableDerivedPath(ref<Store> store, DerivedPath && derivedPath)
14 : store(store)
15 , derivedPath(std::move(derivedPath))
16 {
17 }
18
19 std::string what() const override;
20
22
23 std::optional<StorePath> getStorePath() override;
24
25 static InstallableDerivedPath
26 parse(ref<Store> store, std::string_view prefix, ExtendedOutputsSpec extendedOutputsSpec);
27};
28
29} // namespace nix
Definition ref.hh:58
std::vector< DerivedPathWithInfo > DerivedPathsWithInfo
Definition installables.hh:95
Definition derived-path.hh:238
Definition outputs-spec.hh:110
DerivedPathsWithInfo toDerivedPaths() override
Definition installable-derived-path.cc:11
std::optional< StorePath > getStorePath() override
Definition installable-derived-path.cc:19
std::string what() const override
Definition installable-derived-path.cc:6
Definition installables.hh:114