[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions regarding substitutes with debug output

From: zimoun
Subject: Re: Questions regarding substitutes with debug output
Date: Mon, 09 May 2022 16:37:22 +0200


On Mon, 09 May 2022 at 15:33, Ricardo Wurmus <> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]