Merge pull request #67 from nix-community/update_flake_lock_action

flake.lock: Update
This commit is contained in:
adisbladis 2022-05-09 15:05:14 +07:00 committed by GitHub
commit da16458c7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1651007983, "lastModified": 1651726670,
"narHash": "sha256-GNay7yDPtLcRcKCNHldug85AhAvBpTtPEJWSSDYBw8U=", "narHash": "sha256-dSGdzB49SEvdOJvrQWfQYkAefewXraHIV08Vz6iDXWQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e10da1c7f542515b609f8dfbcf788f3d85b14936", "rev": "c777cdf5c564015d5f63b09cc93bef4178b19b01",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -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)