forked from lix-project/nix-eval-jobs
fixes for nixUnstable
This commit is contained in:
parent
13209fb024
commit
882d2376cf
|
@ -287,14 +287,14 @@ static void worker(EvalState &state, Bindings &autoArgs, AutoCloseFD &to,
|
||||||
path.size() == 0; // Dont require `recurseForDerivations =
|
path.size() == 0; // Dont require `recurseForDerivations =
|
||||||
// true;` for top-level attrset
|
// true;` for top-level attrset
|
||||||
|
|
||||||
for (auto &i : v->attrs->lexicographicOrder()) {
|
for (auto &i : v->attrs->lexicographicOrder(state.symbols)) {
|
||||||
std::string name(i->name);
|
const std::string &name = state.symbols[i->name];
|
||||||
attrs.push_back(name);
|
attrs.push_back(name);
|
||||||
|
|
||||||
if (name == "recurseForDerivations") {
|
if (name == "recurseForDerivations") {
|
||||||
auto attrv =
|
auto attrv =
|
||||||
v->attrs->get(state.sRecurseForDerivations);
|
v->attrs->get(state.sRecurseForDerivations);
|
||||||
recurse = state.forceBool(*attrv->value, *attrv->pos);
|
recurse = state.forceBool(*attrv->value, attrv->pos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (recurse)
|
if (recurse)
|
||||||
|
|
Loading…
Reference in a new issue