A way to map `libblahblah.so.n` to `pkg.foo`

Is there a way to map a certain dll to a package that provides it? It would be okay even if it links to an rpm, if not a nixpkgs (I could then go from rpm → repology → nix).

I found something called nix-index. Would be great if there were a way to query packages globally not just on my machine

Is there a way to map a certain dll to a package that provides it? It would be okay even if it links to an rpm, if not a nixpkgs (I could then go from rpm → repology → nix).

I would bet that nix-locate is the best nix-oriented tool; you can chat with {^_^} bot (find it on Nix-related IRC channels to make sure you get the correct bot) and ask it to ,locate libsomething.so (initial comma is the command marker for the bot) or you can install nix-locate from Nixpkgs and tell it to download the DB.

1 Like