aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 08:16:28 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 08:16:28 +0100
commit298db5d1cdbbd3198b8b08ae63fcea7c701cac22 (patch)
treeb98b8f25fecb0081bdbde6a68c12ca7cac234e27 /src/libstore/build
parent68f148ed45da0a8b827a96611e7825d5d2396454 (diff)
Merge pull request #9804 from edolstra/missing-nar-crash
Fix crash when NAR is missing from binary cache (cherry picked from commit 3b20cca9625a1701a10a883735e7315185629563) Change-Id: I50ff18f4a6de69c323473b4a8e3e098d1f365145
Diffstat (limited to 'src/libstore/build')
-rw-r--r--src/libstore/build/worker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc
index 850df5f1e..d6bcba3ff 100644
--- a/src/libstore/build/worker.cc
+++ b/src/libstore/build/worker.cc
@@ -250,7 +250,7 @@ void Worker::childTerminated(Goal * goal, bool wakeSleepers)
void Worker::waitForBuildSlot(GoalPtr goal)
{
- debug("wait for build slot");
+ goal->trace("wait for build slot");
bool isSubstitutionGoal = goal->jobCategory() == JobCategory::Substitution;
if ((!isSubstitutionGoal && getNrLocalBuilds() < settings.maxBuildJobs) ||
(isSubstitutionGoal && getNrSubstitutions() < settings.maxSubstitutionJobs))