Hi,

On Mon, 09 May 2022 at 15:33, Ricardo Wurmus <[email protected]> wrote:

>> Indeed.  Where %my-channels would refer to a channels.scm file, right?
>
> A list of channels rather than a file.

Do yo mean

        (define %my-channels
          (read-this-channel-file "path/to/one-channels-file.scm"))

        (with-channels %my-channels
          (package …))

?


>> 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?

It depends on you walk the packages list.  I agree that it should be
done automatically at “guix pull” time (or at inferior time).

> Doing this once per channel seems better than having channel maintainers
> add this to every package.

I agree.


Cheers,
simon

Reply via email to