From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WLOlA6kC5GW3JgAAe85BDQ:P1 (envelope-from ) for ; Sun, 03 Mar 2024 05:55:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WLOlA6kC5GW3JgAAe85BDQ (envelope-from ) for ; Sun, 03 Mar 2024 05:55:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ngyro.com header.s=fm2 header.b=K7tD9JsZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="G 9bfGtM"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709441705; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iQJ/dVoJbkvptnr5cC1Uhj+YJCocjjSSrdYe13+MS80=; b=NLtowLbd5W0H3n5R2RuJnSCv8sCO45gnCtqkVQtlddkiGd/t7G8MoYGTW/jZ9jsjsoLLq/ SM5dmNqHAdK8FLTm9VIFRLgFQOmwwhF65TFtXGmSP2lTe2XBmTFSRUWYdQRuhxJFV8/ITW OyeVHhPm+dkIc7+ehkVv5KVQLNe8puOcTo5U1uTrFxRDypyD1IvinlCW7PxsSpaoiChva7 KiEgNmbzXS0I+89U4JuGNbhGYMiCEoUJzIV2s+zfTgYyvJsFXKexareLIbs8agXCGU+Lxl GFjZql+iy6vxqSwJum7sbpqKkDkLWExn/2o4QVX+Lm869JxgJ/nT0GTLNXJFaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ngyro.com header.s=fm2 header.b=K7tD9JsZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="G 9bfGtM"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709441705; a=rsa-sha256; cv=none; b=KJAj2gOIoSH5ZSfYvMTMD4BRC8FgYNUNVgpNQcJUJLQ12q7Kan9m3MJdtwx/dIZOqJvb6g N9uBlTMMFKBUEXBwWRUh+F17zDb7WHsXKRdCwR4ofATT+YcAk7geX3Ztq5/Cbi1r0Q7nfk PMsdeFIYO4pGcdUrd4px4yBVZm8OFegNddnUGyNnq6WxVkhpT5z4OwO+LnRSQlHODHzahn 4hibW0uaHzuX+MHPPNuuXU05sGs8xBlPxwTVe6Kg5IJnmbJfje2ZkNxwKiUaVGOQ1HWcam mK8VhH51mQoARTrutnFs65QkCWGxlKRgUwnWEJ9okj9BVwHt4YKx17rz2Edi9A== 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 9DE105A147 for ; Sun, 3 Mar 2024 05:55:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgds0-00065g-29; Sat, 02 Mar 2024 23:54:40 -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 1rgdrv-00064z-El for guix-patches@gnu.org; Sat, 02 Mar 2024 23:54:36 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rgdrt-00064d-Ge for guix-patches@gnu.org; Sat, 02 Mar 2024 23:54:35 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rgdsM-0005tJ-7C for guix-patches@gnu.org; Sat, 02 Mar 2024 23:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69328] [PATCH 12/12] download: Honor =?UTF-8?Q?=E2=80=98GUIX=5FDOWNLOAD=5FSEQUENCE=E2=80=99?= environment variable. Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Mar 2024 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69328 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Josselin Poiret , Tobias Geerinckx-Rice , Simon Tournier , Mathieu Othacehe , 69328@debbugs.gnu.org, Ricardo Wurmus , Christopher Baines Received: via spool by 69328-submit@debbugs.gnu.org id=B69328.170944164222552 (code B ref 69328); Sun, 03 Mar 2024 04:55:02 +0000 Received: (at 69328) by debbugs.gnu.org; 3 Mar 2024 04:54:02 +0000 Received: from localhost ([127.0.0.1]:39588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgdrO-0005re-2y for submit@debbugs.gnu.org; Sat, 02 Mar 2024 23:54:02 -0500 Received: from fout1-smtp.messagingengine.com ([103.168.172.144]:54691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgdrL-0005r6-1u for 69328@debbugs.gnu.org; Sat, 02 Mar 2024 23:53:59 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id 9F10E1380097; Sat, 2 Mar 2024 23:53:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sat, 02 Mar 2024 23:53:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ngyro.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1709441604; x=1709528004; bh=iQJ/dVoJbkvptnr5cC1Uhj+YJCocjjSSrdYe13+MS80=; b= K7tD9JsZ/hNX7T+Ox9qcrxaH5AervZvUaqEqjhRkHjHAyLvVWmKob7e+Pj5LJ0/B m42LBW1pKL4YCdxaS60ssK9+yWWzHs8+VryK9JLvByTv3DsC2U4rSc2CQUGAmNZ9 iJZJiLKwmjGqDO2HjS7CNYv3vt5EXSmRTGVeEwh5XbblcuLqCgqZSBVgkTPo/84f o8ulb/km403c/sDTDc054ByKATNF7DcZc7uLkMEBM05NWTFMsaABcsZBdr2+XDSd L32dwB4BAPGXY6z+f9u/5VX69JC1c4KzBtee3AsXpzOrU1xcKjFTxs+4KkSzPpnx b95jvjfLAHKylPSvr1UPPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709441604; x= 1709528004; bh=iQJ/dVoJbkvptnr5cC1Uhj+YJCocjjSSrdYe13+MS80=; b=G 9bfGtMyJxsXLnMcu1mdJoP7uwGQ1S76tlQah/8G6EXOs0VSQ0wugBJ3jHbnOLLPZ vfKnwIwajvlZJy7YDK17zbSEEtclP/G+aBeLBs2PoQ3Y6Q8P1Z2a/IVtLr1hweWx skte28/+fm2jff52BrfQhTnnboErWiDMnjFWnF6J0WraoUAgBkh38E4/cxA8own1 9M5Oj/2aQSR+3CRF8QKzVXMuceiz6b9YRnK09sCj8XIFmHUjmPa7b1aCxdu6flWw wVAx0qoVKBu3S5QZRPgyz0bub+t1XkoHlX6+GyINAt2fx918iVEnT7mqFL654amh lf0ILEeQQRtYFXy6XBDrQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrheeggdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttderjeenucfhrhhomhepvfhimhho thhhhicuufgrmhhplhgvuceoshgrmhhplhgvthesnhhghihrohdrtghomheqnecuggftrf grthhtvghrnhepteeffffftedtleevkefgfeefveduheehtdffvdffhfdutefhfedvuddu jeelhfdvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhplhgvthesnhhghihrohdrtghomh X-ME-Proxy: Feedback-ID: i4721425c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Mar 2024 23:53:23 -0500 (EST) From: Timothy Sample In-Reply-To: <0eafb9b6a14808552c10a4d9d44eef1ec69897f9.1708697539.git.ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 23 Feb 2024 16:48:16 +0100") References: <0eafb9b6a14808552c10a4d9d44eef1ec69897f9.1708697539.git.ludo@gnu.org> Date: Sat, 02 Mar 2024 22:53:21 -0600 Message-ID: <87jzmjkjb2.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.87 X-Spam-Score: -3.87 X-Migadu-Queue-Id: 9DE105A147 X-Migadu-Scanner: mx11.migadu.com X-TUID: ESVxxXPKX0c6 Ludovic Court=C3=A8s writes: > diff --git a/guix/scripts/perform-download.scm b/guix/scripts/perform-dow= nload.scm > index b96959a09e..250b1c2b48 100644 > --- a/guix/scripts/perform-download.scm > +++ b/guix/scripts/perform-download.scm > @@ -114,14 +120,16 @@ (define* (perform-git-download drv output > ;; on ambient authority, hence the PATH value below. > (setenv "PATH" "/run/current-system/profile/bin:/bin:/usr/bin") >=20=20 > - ;; Note: When doing a '--check' build, DRV-OUTPUT and OUTPUT are > - ;; different, hence the #:item argument below. > - (git-fetch-with-fallback url commit output > - #:hash hash > - #:hash-algorithm algo > - #:recursive? recursive? > - #:item (derivation-output-path drv-output) > - #:git-command %git)))) > + (parameterize ((%download-sequence > + (and download-sequence > + (call-with-input-string download-sequence > + read)))) > + (git-fetch-with-fallback url commit output > + #:hash hash > + #:hash-algorithm algo > + #:recursive? recursive? > + #:item (derivation-output-path drv-outp= ut) > + #:git-command %git))))) Did you mean to delete the comment here?