aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
authortomberek <tomberek@users.noreply.github.com>2022-01-28 10:18:29 -0500
committerGitHub <noreply@github.com>2022-01-28 10:18:29 -0500
commit2bf96bd9f299885b38cafa460a06c77f0c296dfe (patch)
treeea5509fce38534d28d13984d1171385a9dc9a122 /src/libstore/store-api.hh
parent73e82ae954be991858053df2a6b7323fe3a82c36 (diff)
parent4bf6af7b555033de5c1d6851edb60a91940d43c3 (diff)
Merge branch 'master' into bundler_drv
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r--src/libstore/store-api.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index 8306509f3..4068f8f35 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -765,6 +765,9 @@ public:
* (a no-op when there’s no daemon)
*/
virtual void setOptions() { }
+
+ virtual std::optional<std::string> getVersion() { return {}; }
+
protected:
Stats stats;