nix-community / nix-index

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

Index non-free packages #245

Open Atry opened 3 months ago

Atry commented 3 months ago

Currently, when executing

nix-locate include/cuda_runtime.h

the result is

(emacsPackages.racer.out)                            66 r /nix/store/jwkmkqvbgs2akycjw4sn7in1kh1j6sv9-rust-src/src/llvm-project/clang/test/Headers/Inputs/include/cuda_runtime.h

It would be nice if cudaPackages.cuda_cudart is also listed.

RaitoBezarius commented 3 months ago

This would require to have the non-free packages built, but, we don't have such cache around, thus it's impossible to generate this if we don't build unfree packages.

Atry commented 3 months ago

There are some binary caches

RaitoBezarius commented 3 months ago

I suppose you can just teach nix-index to use those caches to enrich the database.

hab25 commented 1 week ago

I suppose you can just teach nix-index to use those caches to enrich the database.

Does "you" refer to the user or to nix-index contributors?