Nix 2.93.3
Lix: A modern, delicious implementation of the Nix 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), derivedPath(std::move(derivedPath))
15 { }
16
17 std::string what() const override;
18
20
21 std::optional<StorePath> getStorePath() override;
22
23 static InstallableDerivedPath parse(
24 ref<Store> store,
25 std::string_view prefix,
26 ExtendedOutputsSpec extendedOutputsSpec);
27};
28
29}
Definition eval.hh:685
Definition ref.hh:19
std::vector< DerivedPathWithInfo > DerivedPathsWithInfo
Definition installables.hh:93
Definition derived-path.hh:225
Definition outputs-spec.hh:97
std::optional< StorePath > getStorePath() override
Definition installable-derived-path.cc:19
DerivedPathsWithInfo toDerivedPaths(EvalState &state) override
Definition installable-derived-path.cc:11
std::string what() const override
Definition installable-derived-path.cc:6
Definition installables.hh:112