[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to customize mirror list used in custom channels?
From: |
zimoun |
Subject: |
Re: how to customize mirror list used in custom channels? |
Date: |
Sun, 27 Nov 2022 13:09:53 +0100 |
Hi,
On Sat, 26 Nov 2022 at 12:11, Ludovic Courtès <ludo@gnu.org> wrote:
> (origin
> (method url-fetch)
> (uri (list URL1 URL2 URL3))
> (base32 …))
Neat! This is nice for one or two packages.
> See for example how ‘qtbase’ does it.
Well, it looks like it is a manual implementation of the Guix mirror
mechanism.
> Now, if you really want to extend the set of things recognized, you
> could write variant of ‘url-fetch’ that passes a different #:mirrors
> argument to ‘built-in-download’. Maybe ‘url-fetch’ could have a
> #:mirrors parameter to simplify it.
Why is it not possible to extend ’%mirrors? For instance, it is
possible to extend ’%load-path’. Why not %mirrors?
Cheers,
simon