Re: Search in One Channel

2023-01-05 Thread david larsson
On 2022-12-29 00:45, jgart wrote: [..] Any thoughts or ideas on how I should approach implementing search/filter search in one channel only? I think something like this would be a start where the "pkg-dir" argument is the path to a package directory in a channel: (define (packa

Re: Search in One Channel

2023-01-05 Thread zimoun
Hi, On Wed, 28 Dec 2022 at 23:45, "jgart" wrote: > I'd like to search just in the guix-emacs channel with `guix search`. Currently, the only option I am aware is to parse the output (with recutils or other). Well, it is not convenient but something like: guix time-machine -C one-specific

Re: Search in One Channel

2022-12-29 Thread jgart
Or what if 10 different custom Guix channels use gnu/packages/*.scm as a valid path. I won't be able to associate which channel that package came from when searching with only that information.

Re: Search in One Channel

2022-12-29 Thread jgart
hi, > You could filter based on the location field of the output. That would work, but, what if 10 different custom Guix channels use gnu/packages/emacs-xyz.scm as a valid path in their channel file structure?

Re: Search in One Channel

2022-12-29 Thread Csepp
"jgart" writes: > Hi Guixers, > > Below are the channels that I'm currently subscribed to. > > I'd like to search just in the guix-emacs channel with `guix search`. > > Is there a way to do that currently? You could filter based on the location field of the output. There might be a builtin

Search in One Channel

2022-12-28 Thread jgart
r ideas on how I should approach implementing search/filter search in one channel only? My subscribed channels list: (list (channel (name 'guixrus) (url "https://git.sr.ht/~whereiseveryone/guixrus";) (introduction (