nix-community / nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
Other
817 stars 50 forks source link

Unclear README regarding usage of binary caches #166

Open DamienCassou opened 3 years ago

DamienCassou commented 3 years ago

Hi,

after reading the README, I'm unsure if (1) nix-index actually searches binary caches on the web or (2) only the /nix/store directory locally.

In favor of the first (remote) interpretation, I read

It indexes built derivations found in binary caches.

In favor of the second (local) interpretation, I read

I think the README could be clarified so the reader isn't confused.

bennofs commented 3 years ago

To answer your question: it uses cache.nixos.org, the default nixos/nix binary cache. Configuring it is not possible right now.

I'll look into clarifying the readme.