Fix build with Nix 2.29

This commit is contained in:
John Ericson
2025-05-15 00:24:25 -04:00
parent dafa252d08
commit 278a3ebfd5
4 changed files with 12 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ static std::unique_ptr<SSHMaster::Connection> openConnection(
auto remoteStore = machine->storeUri.params.find("remote-store");
if (remoteStore != machine->storeUri.params.end()) {
command.push_back("--store");
command.push_back(shellEscape(remoteStore->second));
command.push_back(escapeShellArgAlways(remoteStore->second));
}
}