aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index 8600def62..f39d6b547 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -358,14 +358,14 @@ const Store::Stats & Store::getStats()
void copyStorePath(ref<Store> srcStore, ref<Store> dstStore,
- const Path & storePath)
+ const Path & storePath, bool repair)
{
auto info = srcStore->queryPathInfo(storePath);
StringSink sink;
srcStore->narFromPath({storePath}, sink);
- dstStore->addToStore(*info, *sink.s);
+ dstStore->addToStore(*info, *sink.s, repair);
}