From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 QI+SKmEYC2aDlwAAqHPOHw:P1 (envelope-from ) for ; Mon, 01 Apr 2024 22:26:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QI+SKmEYC2aDlwAAqHPOHw (envelope-from ) for ; Mon, 01 Apr 2024 22:26:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=it1FEcHD; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712003169; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=ySZCPnu9YVlQI7ZkdzyXyTa2iIQ31ccTumDfgNRdxZM=; b=SznOvdT1LudAzO0nL8e4CVxFwL7k8dbjmeYSok/I53T6VJpcH+9Y+CD0V0cw/n6eaYlEjm /l3qyJuWGzqFC5K6WxetBtX9yuXgB1VcJJ8GZuXX37Q9pn8BqJK6jGp1fgu3fmMoqtxHw8 h/92oGM2BzMSibrETND5hr3oJagV65svJr5vbe2UIw7eIN7fDiphexFqYX3z/sqYdzRF3d V19la9k6PN0IGE9773nFgMOXZQRKSQHm7WF5TtJtkWInX1pLQAusgQASclQv8ZiBd6KYSx DgCLWwD6tJQqO1SJcnj1jfO5qcnK9xfNUmS2XJ+zdkHycV3uF/8OJ34OISr/yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=it1FEcHD; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712003169; a=rsa-sha256; cv=none; b=ig/6vzKfzJFLZwGza4S2zuIQAMQ+d3EfisHWerm8HaYAh1rQkGTadgSCjn8yX/XpYUP7l8 XRGIGsbz3JwMNyabiC9VSLuMlb44rt9e/WotsjKcruBO/LwF2f/xoEoR9G9Gvdk/YhQxQE g0Br4pJKqt/4AV6nZigLdSV5gs0Io3UhcsSPQ3Omq2JL80xPPadtlOwkFdlDplwKc2lYVV Ac5F2oX/ykG/LCIClCDuf4aQZcJGh70vUC/4LjZAGQVWq8f1qKVdxO2jQ1VEal2UH5HCJF NMu5yDsSA7FbMnk+NJhb2zVLHcCB83TP4WEFD6NVYg14mOvDoLzBGAnbaoDFfw== 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 6763C62E06 for ; Mon, 01 Apr 2024 22:26:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrOEG-00082z-P0; Mon, 01 Apr 2024 16:26:05 -0400 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 1rrOED-00082X-28 for guix-patches@gnu.org; Mon, 01 Apr 2024 16:26:01 -0400 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 1rrOEC-0006oW-Pa; Mon, 01 Apr 2024 16:26:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrOEE-0007Gj-Dm; Mon, 01 Apr 2024 16:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70132] [PATCH 01/11] channels: Use SRFI-71 instead of SRFI-11. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Mon, 01 Apr 2024 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70132 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70132@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 70132-submit@debbugs.gnu.org id=B70132.171200315127891 (code B ref 70132); Mon, 01 Apr 2024 20:26:02 +0000 Received: (at 70132) by debbugs.gnu.org; 1 Apr 2024 20:25:51 +0000 Received: from localhost ([127.0.0.1]:51651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrOE3-0007Fm-DK for submit@debbugs.gnu.org; Mon, 01 Apr 2024 16:25:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrOE1-0007FQ-Bl for 70132@debbugs.gnu.org; Mon, 01 Apr 2024 16:25:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrODs-0006lW-Bv; Mon, 01 Apr 2024 16:25:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=ySZCPnu9YVlQI7ZkdzyXyTa2iIQ31ccTumDfgNRdxZM=; b=it1FEcHDLSQ3FJPsD9YZ gpYk0Dex90hiXyKISM7KOBDp356tLazfjPLg4D9DIfGHQMPAax3hFN9vfePdzxr2jQCCmzlm+MfQR 16OnUj/ayOGrtEwD4O/+NLG1L9E+eJMqlm62vEanyVfpywrgrxsePuzTBhN9CDpdAOOBa6dCIud8r uWKdu8n/ijeGa2BIHMen6jtUKKNE1MQeij5xAJUmVvTHtzv3gD9BimpzEq8pEvh6PzBKUnT7a5E+8 lXyWRhV2QRuZea3q+74ZcS/Ov0frXjlUkInR7MbdQPcmkEoJe17h2zHmnfe/pAY6i9XQslruLjrBx 75NhU1eJaNZA9A==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 1 Apr 2024 22:25:13 +0200 Message-ID: <6f4f3bb9ebafe98416d378e9438c9453fae613d2.1712002698.git.ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Queue-Id: 6763C62E06 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -4.05 X-Spam-Score: -4.05 X-TUID: 4eiYzsqOHq9g * guix/channels.scm (latest-channel-instance): Use SRFI-71. Change-Id: I73531c98b3034e228006ed91518cc7bfedc784fd --- guix/channels.scm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/guix/channels.scm b/guix/channels.scm index 66f3122f79..10f0e3800f 100644 --- a/guix/channels.scm +++ b/guix/channels.scm @@ -43,10 +43,10 @@ (define-module (guix channels) #:use-module (srfi srfi-1) #:use-module (srfi srfi-2) #:use-module (srfi srfi-9) - #:use-module (srfi srfi-11) #:use-module (srfi srfi-26) #:use-module (srfi srfi-34) #:use-module (srfi srfi-35) + #:use-module (srfi srfi-71) #:autoload (guix describe) (current-channels) ;XXX: circular dep #:autoload (guix self) (whole-package make-config.scm) #:autoload (guix inferior) (gexp->derivation-in-inferior) ;FIXME: circular dep @@ -411,12 +411,11 @@ (define* (latest-channel-instance store channel (and (string=? (basename file) ".git") (eq? 'directory (stat:type stat)))) - (let-values (((channel) - (ensure-default-introduction channel)) - ((checkout commit relation) - (update-cached-checkout (channel-url channel) - #:ref (channel-reference channel) - #:starting-commit starting-commit))) + (let ((channel (ensure-default-introduction channel)) + (checkout commit relation + (update-cached-checkout (channel-url channel) + #:ref (channel-reference channel) + #:starting-commit starting-commit))) (when relation (validate-pull channel starting-commit commit relation)) -- 2.41.0