mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Remove 'accessor' from addToStore()
This is only used by hydra-queue-runner and it's better to implement it there.
This commit is contained in:
parent
0a9da00a10
commit
545bb2ed03
13 changed files with 20 additions and 34 deletions
|
@ -51,7 +51,7 @@ void Store::exportPath(const StorePath & path, Sink & sink)
|
|||
<< 0;
|
||||
}
|
||||
|
||||
StorePaths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor, CheckSigsFlag checkSigs)
|
||||
StorePaths Store::importPaths(Source & source, CheckSigsFlag checkSigs)
|
||||
{
|
||||
StorePaths res;
|
||||
while (true) {
|
||||
|
@ -86,7 +86,7 @@ StorePaths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> acces
|
|||
|
||||
// Can't use underlying source, which would have been exhausted
|
||||
auto source = StringSource { *tee.saved.s };
|
||||
addToStore(info, source, NoRepair, checkSigs, accessor);
|
||||
addToStore(info, source, NoRepair, checkSigs);
|
||||
|
||||
res.push_back(info.path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue