aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-25 21:14:27 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-25 21:15:58 +0100
commit35dbdbedd41dea45bf38ae11d74f72c39eb304c3 (patch)
treed9d72e5e38c227c95097fb6cdd39abc24986843a /src/libstore/local-store.hh
parentfcf3528ad1ad3fc0eeac9a1241b7edfebf67eb3d (diff)
nix store ping: Report Nix daemon version
Fixes #5952.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 6d867d778..8cf9c68b3 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -211,6 +211,8 @@ public:
void queryRealisationUncached(const DrvOutput&,
Callback<std::shared_ptr<const Realisation>> callback) noexcept override;
+ std::optional<std::string> getVersion() override;
+
private:
int getSchema();