From 54a9b264313c4aecc5a0861da418ca0d3975199a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 9 Mar 2023 22:18:00 +0100 Subject: [PATCH] fix build with nix 2.14 --- src/nix-eval-jobs.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index 7b22fc4..b9c5a19 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -21,6 +21,7 @@ #include #include #include +#include #include @@ -328,8 +329,9 @@ static void worker(ref state, Bindings &autoArgs, AutoCloseFD &to, if (name == "recurseForDerivations") { auto attrv = v->attrs->get(state->sRecurseForDerivations); - recurse = - state->forceBool(*attrv->value, attrv->pos); + recurse = state->forceBool( + *attrv->value, attrv->pos, + "while evaluating recurseForDerivations"); } } if (recurse)