diff options
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 683da1129..28a414555 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -1065,7 +1065,7 @@ void copyStorePath( act.progress(total, info->narSize); }); TeeSink tee { sink, progressSink }; - srcStore.narFromPath(storePath, tee); + tee << srcStore.narFromPath(storePath); }); dstStore.addToStore(*info, *source, repair, checkSigs); @@ -1202,7 +1202,7 @@ std::map<StorePath, StorePath> copyPaths( }); TeeSink tee{sink, progressSink}; - srcStore.narFromPath(missingPath, tee); + tee << srcStore.narFromPath(missingPath); }); pathsToCopy.push_back(std::pair{infoForDst, std::move(source)}); } |