diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-07-02 10:59:24 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-07-02 10:59:24 -0400 |
commit | 1f9cb06db23f357f06404969820be1d3d4118a18 (patch) | |
tree | 138e95da7fab2a482f0226a156ae977484387c13 /src/libstore | |
parent | 09833126f33e0222fcd1244b79c90f151007ac97 (diff) |
Try next when no ca exists and have different store dirs
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 95280ef1e..20d3c7387 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -4421,6 +4421,9 @@ void SubstitutionGoal::tryNext() subPath = sub->makeFixedOutputPathFromCA(storePath.name(), *ca); if (sub->storeDir == worker.store.storeDir) assert(subPath == storePath); + } else if (sub->storeDir != worker.store.storeDir) { + tryNext(); + return; } try { |