fixes for nixUnstable

This commit is contained in:
Jörg Thalheim 2022-05-07 09:01:41 +02:00
parent 13209fb024
commit 882d2376cf
No known key found for this signature in database

View file

@ -287,14 +287,14 @@ static void worker(EvalState &state, Bindings &autoArgs, AutoCloseFD &to,
path.size() == 0; // Dont require `recurseForDerivations =
// true;` for top-level attrset
for (auto &i : v->attrs->lexicographicOrder()) {
std::string name(i->name);
for (auto &i : v->attrs->lexicographicOrder(state.symbols)) {
const std::string &name = state.symbols[i->name];
attrs.push_back(name);
if (name == "recurseForDerivations") {
auto attrv =
v->attrs->get(state.sRecurseForDerivations);
recurse = state.forceBool(*attrv->value, *attrv->pos);
recurse = state.forceBool(*attrv->value, attrv->pos);
}
}
if (recurse)