nixosbrasil / lyrasearch.nix

Proof of concept of using lyrasearch to do basically the same thing search.nixos.org do but for any option system.
11 stars 1 forks source link

Entity support: trees of derivations #1

Open lucasew opened 1 year ago

lucasew commented 1 year ago

Depends on #3

The idea here is to generate indexable documentation from trees of derivations (pkgs) and generate descriptions from meta.descriptions for example.

lucasew commented 1 year ago

The Rust crawler used by search.nixos.org uses a snippet like this:

nix-env --json -f '<nixpkgs>' --arg config "import <nixpkgs/pkgs/top-level/packages-config.nix>" -qa --meta