mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 23:12:44 +01: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
|
|
@ -962,7 +962,7 @@ const PublicKeys & LocalStore::getPublicKeys()
|
|||
|
||||
|
||||
void LocalStore::addToStore(const ValidPathInfo & info, Source & source,
|
||||
RepairFlag repair, CheckSigsFlag checkSigs, std::shared_ptr<FSAccessor> accessor)
|
||||
RepairFlag repair, CheckSigsFlag checkSigs)
|
||||
{
|
||||
if (!info.narHash)
|
||||
throw Error("cannot add path '%s' because it lacks a hash", printStorePath(info.path));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue