diff options
author | Spencer Baugh <sbaugh@catern.com> | 2018-01-15T02·20-0500 |
---|---|---|
committer | Spencer Baugh <sbaugh@catern.com> | 2018-01-26T22·05+0000 |
commit | 746f8aed86a990a6a8277cd2596f83166a73d718 (patch) | |
tree | 2cbc55482ad7933856f12b380716156bf060db95 /src/libstore/remote-store.hh | |
parent | 0c95776c3efdc63c4b957823d4e51d851a64ed84 (diff) |
remote_store: register for NIX_REMOTE=unix://path
This allows overriding the socket path so the daemon may be listening at an arbitrary Unix domain socket location. Fixes #1800
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r-- | src/libstore/remote-store.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh index 30c6beae6ff2..7f36e206416b 100644 --- a/src/libstore/remote-store.hh +++ b/src/libstore/remote-store.hh @@ -134,6 +134,7 @@ class UDSRemoteStore : public LocalFSStore, public RemoteStore public: UDSRemoteStore(const Params & params); + UDSRemoteStore(std::string path, const Params & params); std::string getUri() override; @@ -145,6 +146,7 @@ private: }; ref<RemoteStore::Connection> openConnection() override; + std::experimental::optional<std::string> path; }; |