mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Recheck path validity after acquiring lock
It might have changed, and in any event this is how the cod used to work so let's just keep it.
This commit is contained in:
parent
2de201254e
commit
18834f7764
1 changed files with 1 additions and 0 deletions
|
@ -1547,6 +1547,7 @@ void DerivationGoal::tryToBuild()
|
|||
omitted, but that would be less efficient.) Note that since we
|
||||
now hold the locks on the output paths, no other process can
|
||||
build this derivation, so no further checks are necessary. */
|
||||
checkPathValidity();
|
||||
bool allValid = true;
|
||||
for (auto & [_, status] : initialOutputs) {
|
||||
if (!status.wanted) continue;
|
||||
|
|
Loading…
Reference in a new issue