1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

Factor out the unix domain socket-specific code from RemoteStore

This commit is contained in:
Shea Levy 2016-09-02 14:15:04 -04:00
parent 7d4ccd9b17
commit 0f39633290
5 changed files with 69 additions and 36 deletions

View file

@ -554,7 +554,7 @@ static RegisterStoreImplementation regStore([](
{
switch (getStoreType(uri, get(params, "state", settings.nixStateDir))) {
case tDaemon:
return std::shared_ptr<Store>(std::make_shared<RemoteStore>(params));
return std::shared_ptr<Store>(std::make_shared<UDSRemoteStore>(params));
case tLocal:
return std::shared_ptr<Store>(std::make_shared<LocalStore>(params));
default: