mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Skip substituters with an incompatible store directory
This commit is contained in:
parent
cf198952d0
commit
e24e2caaaf
2 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue