aboutsummaryrefslogtreecommitdiff
path: root/src/nix/search.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-04-26 15:41:40 +0200
committerGitHub <noreply@github.com>2022-04-26 15:41:40 +0200
commita81622c21db1397895ea0bb106819d2306b8fa43 (patch)
tree0ee8d1ebc8359fe8e63a86e05bc39c1a3c570e0e /src/nix/search.cc
parentfb5f13fb654e29915b26e49bffada522652bb403 (diff)
parentb12c33510cb09f7d8300d7f3c762a84b8688780f (diff)
Merge pull request #6447 from edolstra/eval-cache-symbols
EvalCache: Use Symbol in more places
Diffstat (limited to 'src/nix/search.cc')
-rw-r--r--src/nix/search.cc2
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();
}