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:
parent
7d4ccd9b17
commit
0f39633290
5 changed files with 69 additions and 36 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue