From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SKReIzWLgGNTdAEAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 10:30:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eFw/IzWLgGM/OQAAauVa8A (envelope-from ) for ; Fri, 25 Nov 2022 10:30:29 +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 3DE6E38B9F for ; Fri, 25 Nov 2022 10:30:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyV1y-000278-NA; Fri, 25 Nov 2022 04:29:58 -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 1oyV1u-00025M-Bh for guix-devel@gnu.org; Fri, 25 Nov 2022 04:29:54 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyV1s-0001VK-IY for guix-devel@gnu.org; Fri, 25 Nov 2022 04:29:54 -0500 Received: by mail-wr1-x42d.google.com with SMTP id n7so5842628wrr.13 for ; Fri, 25 Nov 2022 01:29:51 -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:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=nS5JVrDITm4n7kIuZsxWxdZecugU8r+KPn0X8306c0I=; b=BTKHfcWEGdvQkOjMN4M7+5YOYqeb64hztek43caa1Wwu6wZ04QUafJlsyg7Lg83Xnx tEl7P5V5XvpzKMB9oKuTR5lpjwTjJhgDnXxCEOwimpzbk6/OwOYddW8yhm1fkpiE8zJq EKLML9CsO9IfDhK5ISY7yayrbJLBKD0unawu1yucgIEGj2Z4IldzDqbTkEHzeoXKHLG1 d4lQGILMEJ2Fedjf/W6keuQC5rYSjOWhyxd1Hd1Ac592Miwyc0yCXGlQqiz5yws3fDSn X6G1smdcj4Gw1wEctDcnY9JkMMNggr5YlkySc38aUVDsP5JC23A9Jx14W1grQ3KLu+XW zoBQ== 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:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nS5JVrDITm4n7kIuZsxWxdZecugU8r+KPn0X8306c0I=; b=LGjYcRzL0PS1UhQmjvIzHXpjsNfnTNOelhcvgFtIQ+VPuL2aQIXlPfzSwdcNKJZLA4 8uw3JLabIPfh0AtN+XqXpTCDtI7pex4itQx63m42wk+9GByxHdcvoGH7TVWvQp96TImF A4lKkvojcp7bGCMSDOt+JEoWEX+J93F3EUGMLKseI5tBD3Mh2XZpqOgeEa62VibDZEKI Y2J9l1nSv+H23LA47Qsb2juEkVg57dtzPbWoZ5Nj8KNLGqtPQX1HrUL2C5N90d2m6I9j 0mQncIAJhRqr4fhKRmyIk6bTrqSWsnTlui94t6y9TJ2UXXIOaGsH3lXPp4ChyHwQpryg PZUw== X-Gm-Message-State: ANoB5pk4wFZh4zlZ5RZHV6oyx+MP7FnaQQPACoUQq5eVKsm0oM5jE8Ke aTEnZRv/UVeluenn1FkgybIghwjGQA4= X-Google-Smtp-Source: AA0mqf6RHt72GT3jD9oM6GsWLvMKPUg7BvReIMBgARGtAVSUNG+/IMtSwNNLLkL39HOdTQDO+kdWmA== X-Received: by 2002:adf:dd07:0:b0:23a:2311:b72 with SMTP id a7-20020adfdd07000000b0023a23110b72mr16021309wrm.147.1669368590572; Fri, 25 Nov 2022 01:29:50 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id f2-20020a1c6a02000000b003b4868eb71bsm8276972wmc.25.2022.11.25.01.29.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 01:29:50 -0800 (PST) From: zimoun To: Guix Devel Subject: how to customize mirror list used in custom channels? Date: Fri, 25 Nov 2022 09:42:32 +0100 Message-ID: <86lenzctmv.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::42d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42d.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=1669368629; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nS5JVrDITm4n7kIuZsxWxdZecugU8r+KPn0X8306c0I=; b=YNxvKukBsNq/MP+Dr3M/KVOxvSil5lxcZmSybsikF78edVymUajlL+POqWYd+PEwO6/WVW MqimK2D6ddtgq/AqbIbA04CBFUOWzc30Fz28ebZ71w0TPsaXdXMNKreXyQK88dUwCf60ej +/6JwOTtlZrbPkDdlXXHDE6svqO945MD20pVBBIoCZRchmgmJsavq7jReLZYuWawkCzhRO qsz0sHlxHX+nNIi9HTfaeXr7sf03M6gVnKWtKjkF9QCKFCUDxfeQR1Ft6+sou6RRFvbQl+ a3UgfnHroEUjunjPFezZsQI9FrZ/MdBOhJqAaJF4n5tB+s66ATUWXSTpF3MuBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669368629; a=rsa-sha256; cv=none; b=V6UZwiIJZZmzSqWV+/qq22PhhrhvxhcJjTBd7NJnPv1xzFBLd/kSCvNN5QtNizyxbpZnXi zw9Bgp7ot+Ev6YxrZsxIwvZ7qaenPd+Fu2tAICk0kUjFwokLW9Xc7igIhSdCyx+EAJKPw3 RVjK10OWaAow8m3Go24wdq84UD5bkpMxyotLPwCRvtGB6jngDIS2raCN12tt9IaJ6xxDaq p6b44hPm2lJKd58RBmweymLUwgpVnjuv/Hv8kWCBmjI18uNp/tyJbmnL/dcPkYKjtw+RWK uNTyrtD4/HPDlNpjgiGqNzYjlp3dqNib1vi4MS9lAL7hheX7+3BXlYo7caEC6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BTKHfcWE; 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.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BTKHfcWE; 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: 3DE6E38B9F X-Spam-Score: -2.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3nuAk1wljzpc Hi, I have a custom channel defining a package. The source of this package is mirrored. In =E2=80=99(guix download)=E2=80=99 module, the list of mirrors are provid= ed by the list =E2=80=99%mirrors=E2=80=99. 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