Skip to content

Commit 1a54900

Browse files
document the role of nix-index in the ecosystem
1 parent 03b8617 commit 1a54900

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# nix-index
2-
## A files database for nixpkgs
3-
**nix-index** is a tool to quickly locate the package providing a certain file in [`nixpkgs`](https://github.com/NixOS/nixpkgs). It indexes built derivations found in binary caches.
1+
# `nix-index` – a file database for Nixpkgs
42

5-
###### Demo
3+
`nix-index` is a tool to quickly locate the package providing a certain file in [`nixpkgs`](https://github.com/NixOS/nixpkgs). It indexes built derivations found in binary caches.
4+
5+
It is used to [build the file index](https://github.com/NixOS/nixos-channel-scripts/pull/62) for official channel releases on <channels.nixos.org> and thus provides the basis for <search.nixos.org>.
6+
7+
## Demo
68

79
```
810
$ nix-locate 'bin/hello'

0 commit comments

Comments
 (0)