[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions regarding substitutes with debug output
From: |
Ricardo Wurmus |
Subject: |
Re: Questions regarding substitutes with debug output |
Date: |
Mon, 09 May 2022 15:33:53 +0200 |
User-agent: |
mu4e 1.6.10; emacs 28.0.50 |
zimoun <zimon.toutoune@gmail.com> writes:
> Hi,
>
> On Fri, 29 Apr 2022 at 22:08, Ricardo Wurmus <rekado@elephly.net> 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