Nix (language): Difference between revisions
imported>Profpatsch finding definitions |
imported>Profpatsch add https://github.com/NixOS/ |
||
Line 390: | Line 390: | ||
You will also notice that searching with <code>grep</code> takes quite a while on a large repository like <code>nixpkgs</code>. Tools like <code>ag</code> (The Silver Searcher) and <code>rg</code> (ripgrep) are orders of magnitudes faster (especially on modern SSDs). | You will also notice that searching with <code>grep</code> takes quite a while on a large repository like <code>nixpkgs</code>. Tools like <code>ag</code> (The Silver Searcher) and <code>rg</code> (ripgrep) are orders of magnitudes faster (especially on modern SSDs). | ||
If you don’t have a <code>nixpkgs</code> checkout at hand, you can use the repo search at [https://search.nix.gsc.io/ search.nix.gsc.io]. This even searches in all repositories of the [https://github.com/NixOS/ NixOS Github organization]. | |||
=== Convert a string to an (<code>import</code>-able) path === | === Convert a string to an (<code>import</code>-able) path === |