[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Single channel update (or channels vs. GUIX_PACKAGE_PATH)
From: |
Ludovic Courtès |
Subject: |
Re: Single channel update (or channels vs. GUIX_PACKAGE_PATH) |
Date: |
Tue, 12 Feb 2019 17:36:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Pierre Neidhardt <address@hidden> skribis:
> Ricardo Wurmus <address@hidden> writes:
>> It’s just a list. You can cons onto it.
>
> What I meant is that it does not seem possible to
>
> (list (channel
> (inherit %default-channels
> (commit "..."))))
>
> Or even
>
> (set-channel-commit %default-channels "...")
>
> But maybe it's not worth it considering it's only 4 lines.
‘%default-channels’ is a list, not a <channel> record, so what you
suggest above cannot work.
But you can do:
(list (channel
(inherit (first %default-channels))
…))
That’s what the stable-channel trick I posted does.
Ludo’.
Re: Single channel update (or channels vs. GUIX_PACKAGE_PATH), Chris Marusich, 2019/02/09