1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 23:42:43 +01:00

Allow parameters in store URIs

This is to allow store-specific configuration,
e.g. s3://my-cache?compression=bzip2&secret-key=/path/to/key.
This commit is contained in:
Eelco Dolstra 2016-04-29 16:26:16 +02:00
parent aa3bc3d5dc
commit 95d20dfde9
9 changed files with 56 additions and 8 deletions

View file

@ -49,6 +49,12 @@ RemoteStore::RemoteStore(size_t maxConnections)
}
std::string RemoteStore::getUri()
{
return "daemon";
}
ref<RemoteStore::Connection> RemoteStore::openConnection()
{
auto conn = make_ref<Connection>();