Retrieving nixpkgs outline

As part of the Documentation Project efforts, I’m researching how to efficiently inspect the nixpkgs graph to generate relevant outlines.

I’ve started toying with ways of achieving this which, for now, are nor complete nor efficient. I’m posting here to ask for efforts that are adjacent to this goal for inspiration (if not outright solving it).

So far, I’m aware of the following:

Is this thread related to your goals at all?

1 Like

It really depends on what you need, would be good to have a bit more info :slight_smile:

There is nix-store --query --graph and exportReferencesGraph though, which might help