https://github.com/Enlambda/nix-channelstatus has working RESTful API to search by files, I plan to publish that as a web service in upcoming weeks.
On Wed, Mar 15, 2017 at 3:55 PM, Profpatsch <m...@profpatsch.de> wrote: > On 17-03-15 01:13pm, Linus Heckemann wrote: > > On 14/03/17 20:24, Roni Choudhury wrote: > > 2. Use nix-repl — `nix-repl '<nixpkgs>'` will give you a REPL for the > > nix language with autocompletion for that sort of thing, which can be > > very helpful. > > Can confirm. Normally I use > find /nix/store -iname "*library.so" > to find the package name, > then I grep nixpkgs for that name > then I look at the outputs (whether it’s in `lib` or `out`) > then I grep nixpkgs for the filename to find the attribute name > > The naming schemes are pretty similar, it could probably > be automated fairly well. > > -- > Proudly written in Mutt with Vim on NixOS. > Q: Why is this email five sentences or less? > A: http://five.sentenc.es > May take up to five days to read your message. If it’s urgent, call me. > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev