Skip to content

add a way to search through the tree #1

@cdepillabout

Description

@cdepillabout

It would be nice to have a way to interactively search through the derivations in the tree.

For instance, if you're trying to build a derivation with musl instead of glibc, you may want to make sure that none of its dependencies are accidentally linked to glibc.

With nix-query-tree-viewer open looking at the run-time dependencies of the derivation, it would be nice to be able to do the following:

  1. Press CtrlF, have it pop open a find dialog like the following:

    image

  2. Type in glibc and hit enter.

  3. This takes you to the first derivation in the tree that contains glibc.

  4. Hit CtrlI to go to the next instance of glibc, or CtrlP to go to previous instance of glibc.

  5. If you've hit CtrlI or CtrlP too many times and the search wraps around, show a message in the status bar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions