From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UL5VLYtbg2NkjgAAbAwnHQ (envelope-from ) for ; Sun, 27 Nov 2022 13:43:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wEoELYtbg2NKQgEAauVa8A (envelope-from ) for ; Sun, 27 Nov 2022 13:43:55 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8105C23BA1 for ; Sun, 27 Nov 2022 13:43:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozGzw-0002t1-Ap; Sun, 27 Nov 2022 07:43:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozGzv-0002si-FJ for guix-devel@gnu.org; Sun, 27 Nov 2022 07:43:03 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozGzs-0004kd-W3; Sun, 27 Nov 2022 07:43:02 -0500 Received: by mail-wm1-x333.google.com with SMTP id m7-20020a05600c090700b003cf8a105d9eso6580101wmp.5; Sun, 27 Nov 2022 04:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=3Aud17usEIohUeu1X2Fd7lXcVgGr2y0uKjFSatsoj14=; b=RQ/uPEb5px0LsQ7TTvPFJ7I3ZeFKYIBwUAp6sKcmSWiMWOq3oJwpNH3jPW2xJqMCtw d5L689nA3BcPdLzysGpvN3mGMf7GSGUPqRVRPkbEfFpuTL0NxeYJgvBkJ7N8O62fevYK wkFS9IuVJHukIh0WUnxGdKQeOOqpP/eBcPURAVI2xtF8SOAkKpJpuLjU2r40bky68Yms UFsNNPLmoxpBGhPWk0qVJadBOgxvDpCJmLanc3iCVkfSUVxfWT9t9UHuxZHB9+YUtARq ZuJMOKDc98QAk4EHRuKW7afLayimnsx1HHXtR2G1P0hYzZccNrmqQ6Rw9/1VL+vVZT5C DVzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3Aud17usEIohUeu1X2Fd7lXcVgGr2y0uKjFSatsoj14=; b=oPTsPD3dNN370vHGq8USZSoI2BQ5nBXOicPSeJI6Xg2QufUPUhMyAcxGAhFClEPX+i IeOqq13sQaPNHL6fBybDIU7k/vqESHJeRqhyiqqh8Px5oEcQBhveqJHESlpdXe9R9g3y E1XUCX9gcygvjy92DyHCfL5HI3QYs8u0Xz+JYDBgoZLwKulx22ZtzRsVE1jOmeVBrtDj SYTXBtqlrnUrp9ACAnsCqjLzfdHMGYam0H1Gx7qWyK3p9Gcb9ZT/Fvyx9/GSd8Wi4Kfb 2seZWMoENxYzJD4IFCnFs5p2/Mg3ssOs0TqUfgtL6TbxenaakMGVitiAY8fATSTWJvuK jxrw== X-Gm-Message-State: ANoB5pnpEMFSdvHL6j91Shq2nSFtTOx8G+tQOBsVh5Npl499oXgd/0o8 gbgOeCD9d/wgiv8KLjPovHhQyfZ22BM= X-Google-Smtp-Source: AA0mqf6Y4y19yy+kJvfV10B6rcUFIk9y6jKPA7PaeDdyP4EvKwOKG909bl/I4/vH562ig0iprKGwqw== X-Received: by 2002:a05:600c:1988:b0:3d0:5160:c81b with SMTP id t8-20020a05600c198800b003d05160c81bmr4432188wmq.110.1669552978691; Sun, 27 Nov 2022 04:42:58 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z16-20020a5d6410000000b002302dc43d77sm8029806wru.115.2022.11.27.04.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 04:42:58 -0800 (PST) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix Devel Subject: Re: how to customize mirror list used in custom channels? In-Reply-To: <87zgce9di8.fsf@gnu.org> References: <86lenzctmv.fsf@gmail.com> <87zgce9di8.fsf@gnu.org> Date: Sun, 27 Nov 2022 13:09:53 +0100 Message-ID: <86ilj01tv2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669553035; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3Aud17usEIohUeu1X2Fd7lXcVgGr2y0uKjFSatsoj14=; b=evatC4Kgge6JTp0+JuWrWLRFvvtrG7GH5dyxQE91pYaNfyzrDfWOpa9I742+Qy6lJ6U9JU wONbQbekAvBbhIGLN1r+LE70Q6CxwgYwmJfn++s2AH2ZdSuBibmzIcqzaEgBRv6mM7PvW3 H9HPun6xC15LMLPPOEuDqUpO+59SjCiH3ZMKX1eedkqrNS6pHCtg42G5+3aviz/UH/OR6S VGgM1uea7fvBa4H9yChi82rjl3uBXLVGDG4hylLEFlzI41M+IV/py34spvIVuJoAlSi2DU Z7dXAMLk010kiPXhR84BSbLkqcCoZU+xRP/EwegDK2ratI4nRV/Rd01g0BMxxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669553035; a=rsa-sha256; cv=none; b=U7KfKNtpCrQlJtQPp1i6bwL+N9NCDjf+9sLBFY4b9F5hQSDk3biT0jcQseI27E0F8dPyuU 9ffoNlVxvW2MTeVSN32f+73jn1YVYEBX7yuIpr27wjRPY6n3qhG4P9T6bfG27Cm0vsTFOy jOlyJToS926MIrC4TCGo2IWZEjRJbunikE01AoLe0UrCfmh7IBN8Q1AChVZv2A6T9WIXb6 vYNfwu7ppf9Y7UvX0nizgruR3pJcKR49qkemtvNEbrSScD4Mb/651Or90Wz8c+TDb3pxlt XFLUn14Ju6BW1GbLDH70vsvGMMCQycEEoCjf4hzpPNy/IbvXdMy4TQveB+aCxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="RQ/uPEb5"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="RQ/uPEb5"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8105C23BA1 X-Spam-Score: -2.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: jFKTgzth16Ok Hi, On Sat, 26 Nov 2022 at 12:11, Ludovic Court=C3=A8s wrote: > (origin > (method url-fetch) > (uri (list URL1 URL2 URL3)) > (base32 =E2=80=A6)) Neat! This is nice for one or two packages. > See for example how =E2=80=98qtbase=E2=80=99 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 =E2=80=98url-fetch=E2=80=99 that passes a differen= t #:mirrors > argument to =E2=80=98built-in-download=E2=80=99. Maybe =E2=80=98url-fetc= h=E2=80=99 could have a > #:mirrors parameter to simplify it. Why is it not possible to extend =E2=80=99%mirrors? For instance, it is possible to extend =E2=80=99%load-path=E2=80=99. Why not %mirrors? Cheers, simon