aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derived-path.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/derived-path.hh')
-rw-r--r--src/libstore/derived-path.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/derived-path.hh b/src/libstore/derived-path.hh
index 2155776b1..9fc64e2f2 100644
--- a/src/libstore/derived-path.hh
+++ b/src/libstore/derived-path.hh
@@ -48,7 +48,7 @@ struct DerivedPathBuilt {
StorePath drvPath;
OutputsSpec outputs;
- std::string to_string(const Store & store) const;
+ std::string to_string(const Store & store, char separator = '!') const;
static DerivedPathBuilt parse(const Store & store, std::string_view, std::string_view);
nlohmann::json toJSON(ref<Store> store) const;
@@ -81,7 +81,7 @@ struct DerivedPath : _DerivedPathRaw {
return static_cast<const Raw &>(*this);
}
- std::string to_string(const Store & store) const;
+ std::string to_string(const Store & store, char separator = '!') const;
static DerivedPath parse(const Store & store, std::string_view);
};