11#include <nlohmann/json_fwd.hpp>
86using _SingleDerivedPathRaw = std::variant<
103 using Raw = _SingleDerivedPathRaw;
109 inline const Raw & raw()
const {
110 return static_cast<const Raw &
>(*this);
159 return make_ref<SingleDerivedPath>(SingleDerivedPath::Opaque { drvPath });
214using _DerivedPathRaw = std::variant<
230 using Raw = _DerivedPathRaw;
236 inline const Raw & raw()
const {
237 return static_cast<const Raw &
>(*this);
240 bool operator == (
const DerivedPath &)
const =
default;
291typedef std::vector<DerivedPath> DerivedPaths;
302void drvRequireExperiment(
Definition store-api.hh:169
ChunkedVector< std::string, 8192 > store
Definition lexer.l:1011
virtual nlohmann::json toJSON()=0
std::string_view OutputNameView
Definition outputs-spec.hh:24
std::string OutputName
Definition outputs-spec.hh:18
Definition derived-path.hh:174
std::string to_string_legacy(const StoreDirConfig &store) const
Definition derived-path.cc:115
std::string to_string(const StoreDirConfig &store) const
Definition derived-path.cc:108
static DerivedPathBuilt parse(const StoreDirConfig &store, ref< SingleDerivedPath >, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:184
const StorePath & getBaseStorePath() const
Definition derived-path.cc:282
Definition derived-path.hh:27
Definition derived-path.hh:229
static DerivedPath parse(const StoreDirConfig &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:246
std::string to_string_legacy(const StoreDirConfig &store) const
Definition derived-path.cc:144
std::string to_string(const StoreDirConfig &store) const
Definition derived-path.cc:129
const StorePath & getBaseStorePath() const
Definition derived-path.cc:305
static DerivedPath fromSingle(const SingleDerivedPath &)
Definition derived-path.cc:262
static DerivedPath parseLegacy(const StoreDirConfig &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:254
Definition outputs-spec.hh:26
Definition derived-path.hh:47
const StorePath & getBaseStorePath() const
Definition derived-path.cc:277
static SingleDerivedPathBuilt parse(const StoreDirConfig &store, ref< SingleDerivedPath > drvPath, OutputNameView outputs, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:172
std::string to_string(const StoreDirConfig &store) const
Definition derived-path.cc:98
std::string to_string_legacy(const StoreDirConfig &store) const
Definition derived-path.cc:103
Definition derived-path.hh:102
static SingleDerivedPath parse(const StoreDirConfig &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:213
static SingleDerivedPath parseLegacy(const StoreDirConfig &store, std::string_view, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
Definition derived-path.cc:221
std::string to_string_legacy(const StoreDirConfig &store) const
Definition derived-path.cc:136
std::string to_string(const StoreDirConfig &store) const
Definition derived-path.cc:122
const StorePath & getBaseStorePath() const
Definition derived-path.cc:300
Definition store-dir-config.hh:22