Hi, On Sat, 26 Nov 2022 at 12:11, Ludovic Courtès <l...@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