Searching packages: Difference between revisions
imported>Rapenne-s m Better display |
imported>Rapenne-s add nix repl as a way |
||
Line 20: | Line 20: | ||
* cons | * cons | ||
** it's very slow and requires a lot of memory | ** it's very slow and requires a lot of memory | ||
== Interactive package browsing with the repl == | |||
You can use the nix repl to load the nixpkgs repository and then use the auto completion to search for packages. | |||
<pre> | |||
$ nix repl | |||
Welcome to Nix 2.8.1. Type :? for help. | |||
nix-repl>:load <nixpkgs> | |||
Added 16519 variables. | |||
nix-repl> firef[PRESS TAB] | |||
</pre> | |||
== Reverse search: searching which package provides a file == | == Reverse search: searching which package provides a file == |