mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
Remove addPathToAccessor
This commit is contained in:
parent
542ae5c8f8
commit
fdbbcc4492
9 changed files with 97 additions and 109 deletions
|
@ -117,10 +117,7 @@ Paths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor,
|
|||
if (readInt(source) == 1)
|
||||
readString(source);
|
||||
|
||||
addToStore(info, tee.data, false, dontCheckSigs);
|
||||
|
||||
if (accessor)
|
||||
addPathToAccessor(ref<FSAccessor>(accessor), info.path, tee.data);
|
||||
addToStore(info, tee.data, false, dontCheckSigs, accessor);
|
||||
|
||||
res.push_back(info.path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue