From patchwork Wed Jun 8 09:58:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 39787 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 97A7527BBEA; Wed, 8 Jun 2022 11:00:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA0F727BBE9 for ; Wed, 8 Jun 2022 11:00:32 +0100 (BST) Received: from localhost ([::1]:43220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nysUJ-0007oC-Fx for patchwork@mira.cbaines.net; Wed, 08 Jun 2022 06:00:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nysSt-0007nV-27 for guix-patches@gnu.org; Wed, 08 Jun 2022 05:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nysSs-0002l5-Jn for guix-patches@gnu.org; Wed, 08 Jun 2022 05:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nysSs-0006QN-KA for guix-patches@gnu.org; Wed, 08 Jun 2022 05:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55843] [PATCH] guix: platform: Fix typo in lookup-platform-by-target. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jun 2022 09:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55843 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55843@debbugs.gnu.org Cc: Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165468234024684 (code B ref -1); Wed, 08 Jun 2022 09:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jun 2022 09:59:00 +0000 Received: from localhost ([127.0.0.1]:42504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nysSp-0006Q4-Qp for submit@debbugs.gnu.org; Wed, 08 Jun 2022 05:59:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:50674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nysSn-0006Pw-HA for submit@debbugs.gnu.org; Wed, 08 Jun 2022 05:58:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nysSf-0007kW-Oa for guix-patches@gnu.org; Wed, 08 Jun 2022 05:58:49 -0400 Received: from jpoiret.xyz ([206.189.101.64]:36542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nysSd-0002io-RB for guix-patches@gnu.org; Wed, 08 Jun 2022 05:58:49 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 17EB9184F7F; Wed, 8 Jun 2022 09:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1654682323; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=y95oiDtNeZZW8SF6mjsMXeMjRO4Zt6w8buArRq7ae3c=; b=MEw0xevs/xMz6HBRhRjhDJygZFNpOmiXGL6bclOnNu5HQ/nrVO8vpHEPAOFu1ZkIUIc1pb 1xjQlNCWje3Eku7U2uMNl5spUPPz3qkduF3C/jbXlKvJmglSlMge1ocw5126IOhsy25Ke1 +76HhKe7QmDk2KOyVdmW8fzMHNct66O81S66qjKh3t1O2yi3+BOhC3/GV61WWIkQ/0Pq7+ orZn0JL2hHco8LIkpD44gFa6Q6zJRciy/OjPxTvqi8H6IOrtF0OhFe1BIlYsgQal5Dqpd5 eNM2IkzUPS3WJuK3UAFho4foze4gOx+q9f4kH8R9z7Au+0G/vIQHSad3E0SdVg== Date: Wed, 8 Jun 2022 11:58:41 +0200 Message-Id: <20220608095841.10350-1-dev@jpoiret.xyz> MIME-Version: 1.0 Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Patchwork-Original-From: Josselin Poiret via Guix-patches via From: Josselin Poiret X-getmail-retrieved-from-mailbox: Patches * guix/platform.scm (lookup-platform-by-target): Fix typo system -> target. --- guix/platform.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/platform.scm b/guix/platform.scm index 361241cb2e..19d4527e29 100644 --- a/guix/platform.scm +++ b/guix/platform.scm @@ -121,7 +121,7 @@ (define (platform-system->target system) (define (platform-target->system target) "Return the system matching the given TARGET if it exists or false otherwise." - (let ((platform (lookup-platform-by-target system))) + (let ((platform (lookup-platform-by-target target))) (and=> platform platform-system)))