From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: how to customize mirror list used in custom channels?
Date: Fri, 25 Nov 2022 09:42:32 +0100 [thread overview]
Message-ID: <86lenzctmv.fsf@gmail.com> (raw)
Hi,
I have a custom channel defining a package. The source of this package
is mirrored.
In ’(guix download)’ module, the list of mirrors are provided by the
list ’%mirrors’. So I would like to add mine, e.g.,
(cons
'(mine
"https://fast-server.org/sources/"
"hhtps://kikoo.io/path/to/something/")
%mirrors)
and then in my package definition,
(uri "mirror://mine/stuff.tar.gz")
Somehow, I would like to replace the list %mirrors by an extended one.
Well, I am stuck because I am puzzled by the Guile module system. :-)
How to customize the mirror list?
Cheers,
simon
next reply other threads:[~2022-11-25 9:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 8:42 zimoun [this message]
2022-11-26 11:11 ` how to customize mirror list used in custom channels? Ludovic Courtès
2022-11-27 12:09 ` zimoun
2022-11-28 10:49 ` Ludovic Courtès
2022-11-28 12:52 ` zimoun
2022-11-29 8:41 ` Ludovic Courtès
2022-11-29 19:02 ` zimoun
2022-12-02 9:01 ` Ludovic Courtès
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=86lenzctmv.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).