GNU bug report logs -
#44630
[PATCH] channels: Expose the default channel in %default-channel
Previous Next
Reported by: Zhu Zihao <all_but_last <at> 163.com>
Date: Sat, 14 Nov 2020 12:09:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 44630 <at> debbugs.gnu.org (full text, mbox):
Hi,
Zhu Zihao <all_but_last <at> 163.com> skribis:
> This expose the inner channel of "%default-channels", this can help user
> to override the original guix channel with any mirror more conveniently.
>
> Before:
>
> ```
> (channel
> (inherit (car %default-channels))
> (url "url/to/mirror"))
> ```
>
> After:
>
> ```
> (channel
> (inherit %default-channel)
> (url "https://mirror.guix.org.cn/git/guix"))
> ```
Hmm I understand the need here, but at the same time, the variable is
called ‘%default-channels’ (plural) to preserve the ability to turn
splut Guix into several channels.
What could work though is your patch, except with the name
‘%default-guix-channel’ instead of ‘%default-channel’, which makes it
clear that it’s just the ‘guix’ channel.
Works for you?
Thanks,
Ludo’.
This bug report was last modified 4 years and 179 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.