diff options
Diffstat (limited to 'src/libstore/export-import.cc')
-rw-r--r-- | src/libstore/export-import.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libstore/export-import.cc b/src/libstore/export-import.cc index 6090ee3e9f83..c5618c826c54 100644 --- a/src/libstore/export-import.cc +++ b/src/libstore/export-import.cc @@ -117,15 +117,7 @@ Paths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor, if (readInt(source) == 1) readString(source); - addToStore(info, *tee.data, false, dontCheckSigs); - - // FIXME: implement accessors? - assert(!accessor); -#if 0 - auto accessor_ = std::dynamic_pointer_cast<BinaryCacheStoreAccessor>(accessor); - if (accessor_) - accessor_->nars.emplace(info.path, makeNarAccessor(tee.data)); -#endif + addToStore(info, tee.data, false, dontCheckSigs, accessor); res.push_back(info.path); } |