- Main points: Today, Replit releases the first version of rippkgs, a CLI for indexing and searching Nix expressions. It aims to provide quick and accurate package searches. The motivation is to help users interact with Nix more comfortably. It's used instead of existing tools like
nix-env,nix search,nix-locate, and search.nixos.org.rippkgsneeds an index created byrippkgs-index. It evaluates nixpkgs and generates a SQLite database. Users can search the index withrippkgs. It uses a scalar function andfuzzy_matchercrate for searching. It's also incorporated into the command-not-found handler. - Key information: Replit uses Nix to offer many programming languages. Existing tools have limitations.
rippkgsfocuses on speed and correctness.rippkgs-indexevaluates nixpkgs and creates an index. Users can search withrippkgsand an index. The search uses a scalar function and fuzzy matching. It's incorporated into the command-not-found handler. - Important details:
nix-envandnix searchare slow.nix-locateis for known paths. search.nixos.org is for up-to-date channels.rippkgs-indextakes special measures to prevent failures. The index is a plain SQLite database and can be queried withsqlite3.rippkgsgives users better visibility in the command-not-found hook. Replit is hiring for writing CLIs.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。