zimoun <[email protected]> writes:
> Hi, > > On Fri, 29 Apr 2022 at 22:08, Ricardo Wurmus <[email protected]> wrote: > >>>> (with-channels %my-channels >>>> (package >>>> (name "yay") >>>> … >>>> (inputs >>>> (list foo bar baz)) ;these are all looked up in %my-channels > > [...] > >> We already have all the tools for WITH-CHANNELS — that’s (guix >> inferior). We just don’t have a convenient syntax to do this without a >> lot of boilerplate. > > Indeed. Where %my-channels would refer to a channels.scm file, right? A list of channels rather than a file. > What seems still missing is a way to select these variants from the > channel. > > I am proposing to somehow add a field to ’properties’. WDYT? Can we not infer this when adding package modules to the load path? Doing this once per channel seems better than having channel maintainers add this to every package. -- Ricardo
