-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the possibility to search for files in the packages, like a command name #104
Comments
Agreed, though this would need server-side work to happen (or some service hosted elsewhere). All current search pages on the website are completely handled client-side by having an index loaded from the server. Using |
Also, command-not-found seems to do the job locally: $ readelf
The program ‘readelf’ is currently not installed. You can install it by typing:
nix-env -iA nixos.binutils-unwrapped I'm using Zsh and the support was broken at the time I've created this issue. Maybe the |
I don't think "interesting" is the right word... nobody seems to know which packages supplies "phpize" and "php.h", and the packages they suggest do not exist in the search. Minding that I only use NixOS because Replit (my IDE) uses NixOS, it seems vital to any distribution to be able to locate the appropriate packages supplying the target tools when they exist at all. |
With flakes we can already exctract |
Program names are now indexed. Another use case are libraries: #673 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-07-20-documentation-team-meeting-notes-65/30876/1 |
It would interesting to have a page that permits the users to search for a file in the packages. A good example is a program that you need but you only now the executable name that differ from the package name. For example, I was looking for the
readelf
command and I was not able to find it from the Packages search page or thenix search
tool.Debian has a good tool for that:
https://www.debian.org/distrib/packages#search_contents
The readelf example:
https://packages.debian.org/search?searchon=contents&keywords=%2Fbin%2Freadelf&mode=path&suite=stable&arch=any
It would be very nice to have a similar page in the Nixos site.
The text was updated successfully, but these errors were encountered: