Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
installable-derived-path.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
nix/cmd/installables.hh
"
5
6
namespace
nix {
7
8
struct
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
21
DerivedPathsWithInfo
toDerivedPaths
()
override
;
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
nix::ref
Definition
ref.hh:58
installables.hh
nix::DerivedPathsWithInfo
std::vector< DerivedPathWithInfo > DerivedPathsWithInfo
Definition
installables.hh:95
nix::DerivedPath
Definition
derived-path.hh:238
nix::ExtendedOutputsSpec
Definition
outputs-spec.hh:110
nix::InstallableDerivedPath::toDerivedPaths
DerivedPathsWithInfo toDerivedPaths() override
Definition
installable-derived-path.cc:11
nix::InstallableDerivedPath::getStorePath
std::optional< StorePath > getStorePath() override
Definition
installable-derived-path.cc:19
nix::InstallableDerivedPath::what
std::string what() const override
Definition
installable-derived-path.cc:6
nix::Installable
Definition
installables.hh:114
libcmd
include
nix
cmd
installable-derived-path.hh
Generated by
1.18.0