diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index 49aca05..d07d3d2 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -328,7 +328,8 @@ static void worker(ref state, Bindings &autoArgs, AutoCloseFD &to, const std::string &name = state->symbols[i->name]; attrs.push_back(name); - if (name == "recurseForDerivations") { + if (name == "recurseForDerivations" && + !myArgs.forceRecurse) { auto attrv = v->attrs->get(state->sRecurseForDerivations); recurse = state->forceBool(