e873b68ed8
* builtins.types: lowercase `any` * builtins.types: use `String` for attr keys in `attrNames` * builtins.types: fix typo in `catAttrs` * builtins.types: more accurate type for `concatLists` * builtins.types: fix `concatMap` * builtins.types: use more accurate type for `filter` * builtins.types: use `String` for attr keys in `mapAttrs` * builtins.types: use more accurate type for `partition` * builtins.types: use `String` for attr keys in `removeAttrs` * builtins.types: lowercase `storePath` * builtins.types: remove trailing space in `toFile` * builtins.types: use normal attrset annotation for `fromTOML` * builtins.types: mirror types for `abort` and `throw` * builtins.types: use more accurate type for `parseDrvName` |
||
---|---|---|
.github | ||
codemod | ||
pasta | ||
pesto | ||
salt | ||
tests | ||
website | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
.mergify.yml | ||
devShell.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
preCommit.nix | ||
projects.toml | ||
README.md | ||
treefmt.toml |
Noogle
Noogle is a simple Nix API search engine. It lets you search Nix functions.
Current Features
- Beginners-friendly search for Nix and Nix-related functions.
- Render documentation comments optimized for readability.
- Search optimized for English language and Nix function-names.
- Filter by type signatures.
- Function types are parsed and interpreted.
- Noogle also knows stuff that is not (yet) officially documented.
- Types of
builtins
(includingbuiltins.derivation
). - Can be extended via markdown contributions to Noogle.
- Always shows the latest docs based on the main branch of Nixpkgs.
- Types of
- Outputs pre-rendered static HTML that is indexable by other search engines.
- Wasm based performant search.
Available data
There are the following subsets of Nix and Nixpkgs functions available.
Recursively indexed:
lib
pkgs.rustPackages
Recursively means all deeply nested sub-attributes.
Normally indexed:
builtins
pkgs.stdenv
pkgs.dockerTools
pkgs.writers
pkgs.pythonPackages
pkgs.haskell.lib
pkgs.haskell.lib
Off the tree functions
Some function are not part of the evaluation value of default.nix
in Nixpkgs.
They must be imported individually.
make-disk-image
All Indexing is done via the pasta module. PRs welcome!
Contribute
Contributions are very welcome just file a PR or issue. Indexed data can be
added very easily in ./pasta/src/eval.nix
.
Note: Indexed data must evaluate!
Build this page
nix build .#ui
This page generates static HTML pages. One page per API function.
It automatically includes meta tags for other search engines like Google or Bing.
Searching within the page is done via pagefind which is only available in the production build.
Develop
nix develop
This command creates the node_modules
directory with all needed dependencies
based on dream2nix
.