bug#30130: Add ‘guix whereis’ command

2024-01-30 Thread Ricardo Wurmus
I’m closing this because we now have “guix locate”. -- Ricardo

bug#30130: Add ‘guix whereis’ command

2018-12-17 Thread Efraim Flashner
On Mon, Dec 17, 2018 at 01:03:38PM +0100, Ricardo Wurmus wrote: > > > This could be solved by a new field in the package-record: (provides > > '("list of commands provided")) > > The danger with doing this in a package definition is that it can easily > go out of sync unless we also add a verific

bug#30130: Add ‘guix whereis’ command

2018-12-17 Thread Ricardo Wurmus
> This could be solved by a new field in the package-record: (provides > '("list of commands provided")) The danger with doing this in a package definition is that it can easily go out of sync unless we also add a verification phase to compare the output with the list of provided executables. A

bug#30130: Add ‘guix whereis’ command

2018-12-17 Thread swedebugia
Hi This could be solved by a new field in the package-record: (provides '("list of commands provided")) What do you think? This could allow us to quickly let guile search the list of provided commands and return the package name. E.g. right now in my guixsd I have no "file" command. I have no i

bug#30130: Add ‘guix whereis’ command

2018-01-17 Thread Ludovic Courtès
Mathieu Lirzin skribis: > I would find really useful if Guix was providing a tool similar to what > ‘dnf whatprovides’ or ‘apt-file’ does. I mean something to check what > packages provides a particular file (executable/manual/library). This has been discussed before, and can be summarized this

bug#30130: Add ‘guix whereis’ command

2018-01-15 Thread Mathieu Lirzin
Hello, I would find really useful if Guix was providing a tool similar to what ‘dnf whatprovides’ or ‘apt-file’ does. I mean something to check what packages provides a particular file (executable/manual/library). My main use-case is when running a ‘configure’ script which checks an arbitrary pr