about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 81c79435ef8b..a6f8dfabac00 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3198,7 +3198,8 @@ void SubstitutionGoal::tryToRun()
             /* Wake up the worker loop when we're done. */
             Finally updateStats([this]() { outPipe.writeSide.close(); });
 
-            copyStorePath(ref<Store>(sub), ref<Store>(worker.store.shared_from_this()), storePath);
+            copyStorePath(ref<Store>(sub), ref<Store>(worker.store.shared_from_this()),
+                storePath, repair);
 
             promise.set_value();
         } catch (...) {