From 059468ba154fbf6652c89ffe8052c9c8571f6c3e Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 8 Aug 2020 16:47:50 -0400 Subject: refactor(tvix): Remove UDSRemoteStore Now that we've fully implemented the RPC-based store client, we can get rid of the UDSRemoteStore, whose only use was connecting to the locally running nix daemon. The RemoteStore still needs to be around to connect to remote upstream nix stores over SSH. Change-Id: I0699819803cbfe966b9a46786f2c927d8e4bf1a2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1693 Tested-by: BuildkiteCI Reviewed-by: kanepyork --- third_party/nix/src/libstore/remote-store.hh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'third_party/nix/src/libstore/remote-store.hh') diff --git a/third_party/nix/src/libstore/remote-store.hh b/third_party/nix/src/libstore/remote-store.hh index 927d0833541f..a6829226ca87 100644 --- a/third_party/nix/src/libstore/remote-store.hh +++ b/third_party/nix/src/libstore/remote-store.hh @@ -136,18 +136,4 @@ class RemoteStore : public virtual Store { std::atomic_bool failed{false}; }; -class UDSRemoteStore : public LocalFSStore, public RemoteStore { - public: - UDSRemoteStore(const Params& params); - UDSRemoteStore(std::string path, const Params& params); - - std::string getUri() override; - - bool sameMachine() override { return true; } - - private: - ref openConnection() override; - std::optional path; -}; - } // namespace nix -- cgit 1.4.1