diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 270500d81..5ec4cbf66 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1774,6 +1774,7 @@ void DerivationGoal::startBuilder() try { if (worker.store.isInStore(i.second.source)) worker.store.computeFSClosure(worker.store.toStorePath(i.second.source), closure); + } catch (InvalidPath & e) { } catch (Error & e) { throw Error(format("while processing ‘build-sandbox-paths’: %s") % e.what()); }