From: "Ludovic Courtès" <ludo@gnu.org>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Single channel update (or channels vs. GUIX_PACKAGE_PATH)
Date: Tue, 12 Feb 2019 17:36:26 +0100 [thread overview]
Message-ID: <87ftsthsl1.fsf@gnu.org> (raw)
In-Reply-To: <87tvhiq80t.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Tue, 05 Feb 2019 21:45:22 +0100")
Pierre Neidhardt <mail@ambrevar.xyz> skribis:
> Ricardo Wurmus <rekado@elephly.net> 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’.
next prev parent reply other threads:[~2019-02-12 16:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-04 23:16 Single channel update (or channels vs. GUIX_PACKAGE_PATH) Pierre Neidhardt
2019-02-04 23:24 ` John Soo
2019-02-05 17:52 ` Pierre Neidhardt
2019-02-05 20:02 ` Ricardo Wurmus
2019-02-05 20:45 ` Pierre Neidhardt
2019-02-12 16:36 ` Ludovic Courtès [this message]
2019-02-12 17:26 ` Pierre Neidhardt
2019-02-09 8:43 ` Chris Marusich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ftsthsl1.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=help-guix@gnu.org \
--cc=mail@ambrevar.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).