diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-01T14·40+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-01T14·40+0200 |
commit | e24e2caaaf2dfd97bfa483800402f21049a42907 (patch) | |
tree | 5dfc2406711587ad414ae7940e0e9e0422d9cbc3 /src/libstore/build.cc | |
parent | cf198952d02aae5585e9bb895577b5b4e7b25707 (diff) |
Skip substituters with an incompatible store directory
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 7be1571cbb16..9316c069eaa0 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3132,6 +3132,11 @@ void SubstitutionGoal::tryNext() sub = subs.front(); subs.pop_front(); + if (sub->storeDir != worker.store.storeDir) { + tryNext(); + return; + } + try { // FIXME: make async info = sub->queryPathInfo(storePath); |