Nix 2.26.3
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
4#include "installables.hh"
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 ref.hh:15
std::vector< DerivedPathWithInfo > DerivedPathsWithInfo
Definition installables.hh:95
Definition derived-path.hh:229
Definition outputs-spec.hh:96
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