about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-12T13·42+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-30T13·18+0200
commitb66ab6cdbce5f4ac2db8976872547680242166e8 (patch)
treed18eeea5ee95602bf3fe252ee97708f0899e1610 /src/libstore/build.cc
parent3be2e71ab31200e3d263d6d2aeb4bf85462156a0 (diff)
Fix repair during substitution
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 (...) {