diff options
Diffstat (limited to 'src/libstore/export-import.cc')
-rw-r--r-- | src/libstore/export-import.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/export-import.cc b/src/libstore/export-import.cc index 883b87217346..c5618c826c54 100644 --- a/src/libstore/export-import.cc +++ b/src/libstore/export-import.cc @@ -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); } |