mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 10:19:36 +01:00
Properly filter the stores according to their declared uriSchemes
When opening a store, only try the stores whose `uriSchemes()` include the current one
This commit is contained in:
parent
5895184df4
commit
7f103dcddd
10 changed files with 51 additions and 33 deletions
|
|
@ -135,7 +135,10 @@ UDSRemoteStore::UDSRemoteStore(const Params & params)
|
|||
}
|
||||
|
||||
|
||||
UDSRemoteStore::UDSRemoteStore(std::string socket_path, const Params & params)
|
||||
UDSRemoteStore::UDSRemoteStore(
|
||||
[[maybe_unused]] const std::string scheme,
|
||||
std::string socket_path,
|
||||
const Params & params)
|
||||
: UDSRemoteStore(params)
|
||||
{
|
||||
path.emplace(socket_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue