From 35dbdbedd41dea45bf38ae11d74f72c39eb304c3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 25 Jan 2022 21:14:27 +0100 Subject: nix store ping: Report Nix daemon version Fixes #5952. --- src/libstore/local-store.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libstore/local-store.hh') 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> callback) noexcept override; + std::optional getVersion() override; + private: int getSchema(); -- cgit v1.2.3