fix recurseForDerivations evaluation in force-recurse mode
This commit is contained in:
parent
a5bb26e9ea
commit
4d674c352e
|
@ -328,7 +328,8 @@ static void worker(ref<EvalState> state, Bindings &autoArgs, AutoCloseFD &to,
|
||||||
const std::string &name = state->symbols[i->name];
|
const std::string &name = state->symbols[i->name];
|
||||||
attrs.push_back(name);
|
attrs.push_back(name);
|
||||||
|
|
||||||
if (name == "recurseForDerivations") {
|
if (name == "recurseForDerivations" &&
|
||||||
|
!myArgs.forceRecurse) {
|
||||||
auto attrv =
|
auto attrv =
|
||||||
v->attrs->get(state->sRecurseForDerivations);
|
v->attrs->get(state->sRecurseForDerivations);
|
||||||
recurse = state->forceBool(
|
recurse = state->forceBool(
|
||||||
|
|
Loading…
Reference in a new issue