diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-04-26 14:01:21 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-04-26 14:01:42 +0200 |
commit | 474695975dde60f582ca0b2fb72c17f664e22876 (patch) | |
tree | 3054af9cc5b2d73d71dfc88838ac248a062ed692 /src/nix/search.cc | |
parent | fab731a9d4622b1ecd7dea01895d9fbaf83301ea (diff) |
EvalCache: Revert to using symbols in getAttr()
Diffstat (limited to 'src/nix/search.cc')
-rw-r--r-- | src/nix/search.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/search.cc b/src/nix/search.cc index 6febc0a55..76451f810 100644 --- a/src/nix/search.cc +++ b/src/nix/search.cc @@ -156,7 +156,7 @@ struct CmdSearch : InstallableCommand, MixJSON recurse(); else if (attrPathS[0] == "legacyPackages" && attrPath.size() > 2) { - auto attr = cursor.maybeGetAttr("recurseForDerivations"); + auto attr = cursor.maybeGetAttr(state->sRecurseForDerivations); if (attr && attr->getBool()) recurse(); } |