8#include "lix/libutil/json-fwd.hh"
29 std::string to_string(
const Store & store)
const;
31 kj::Promise<Result<JSON>> toJSON(
const Store & store)
const;
77 const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings);
78 kj::Promise<Result<JSON>> toJSON(
Store & store)
const;
83namespace derived_path::detail {
84using SingleDerivedPathRaw = std::variant<
102 using Raw = derived_path::detail::SingleDerivedPathRaw;
108 inline const Raw & raw()
const {
109 return static_cast<const Raw &
>(*this);
140 const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings);
149 const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings);
150 kj::Promise<Result<JSON>> toJSON(
Store & store)
const;
155 return make_ref<SingleDerivedPath>(SingleDerivedPath::Opaque { drvPath });
202 const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings);
203 kj::Promise<Result<JSON>> toJSON(
Store & store)
const;
208namespace derived_path::detail {
209using DerivedPathRaw = std::variant<
226 using Raw = derived_path::detail::DerivedPathRaw;
232 inline const Raw & raw()
const {
233 return static_cast<const Raw &
>(*this);
264 const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings);
273 const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings);
280 kj::Promise<Result<JSON>> toJSON(
Store & store)
const;
283typedef std::vector<DerivedPath> DerivedPaths;
294void drvRequireExperiment(
296 const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings);
Definition store-api.hh:195
#define GENERATE_CMP(args...)
Definition comparator.hh:65
#define DECLARE_CMP(my_type)
Definition comparator.hh:33
std::string_view OutputNameView
Definition outputs-spec.hh:26
std::string OutputName
Definition outputs-spec.hh:20
Definition derived-path.hh:170
std::string to_string(const Store &store) const
Definition derived-path.cc:115
static DerivedPathBuilt parse(const Store &store, ref< SingleDerivedPath >, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:191
const StorePath & getBaseStorePath() const
Definition derived-path.cc:283
std::string to_string_legacy(const Store &store) const
Definition derived-path.cc:122
Definition derived-path.hh:26
Definition derived-path.hh:225
static DerivedPath parseLegacy(const Store &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:255
std::string to_string_legacy(const Store &store) const
Definition derived-path.cc:151
const StorePath & getBaseStorePath() const
Definition derived-path.cc:306
static DerivedPath fromSingle(const SingleDerivedPath &)
Definition derived-path.cc:263
static DerivedPath parse(const Store &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:247
std::string to_string(const Store &store) const
Definition derived-path.cc:136
Definition outputs-spec.hh:28
Definition derived-path.hh:45
const StorePath & getBaseStorePath() const
Definition derived-path.cc:278
static SingleDerivedPathBuilt parse(const Store &store, ref< SingleDerivedPath > drvPath, OutputNameView outputs, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:179
std::string to_string(const Store &store) const
Definition derived-path.cc:105
std::string to_string_legacy(const Store &store) const
Definition derived-path.cc:110
Definition derived-path.hh:101
std::string to_string_legacy(const Store &store) const
Definition derived-path.cc:143
std::string to_string(const Store &store) const
Definition derived-path.cc:129
static SingleDerivedPath parse(const Store &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:231
static SingleDerivedPath parseLegacy(const Store &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:239
const StorePath & getBaseStorePath() const
Definition derived-path.cc:301