forked from lix-project/lix
9a14335845
When we don’t have enough free job slots to run a goal, we put it in the waitForBuildSlot list & unlock its output locks. This will continue from where we left off (tryLocalBuild). However, we need the locks to get reacquired when/if the goal ever restarts. So, we need to send it back through tryToBuild to get reqacquire those locks. I think this bug was introduced in https://github.com/NixOS/nix/pull/4570. It leads to some builds starting without proper locks. |
||
---|---|---|
.. | ||
derivation-goal.cc | ||
derivation-goal.hh | ||
drv-output-substitution-goal.cc | ||
drv-output-substitution-goal.hh | ||
entry-points.cc | ||
goal.cc | ||
goal.hh | ||
hook-instance.cc | ||
hook-instance.hh | ||
local-derivation-goal.cc | ||
local-derivation-goal.hh | ||
substitution-goal.cc | ||
substitution-goal.hh | ||
worker.cc | ||
worker.hh |