From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kCiaKi3UaGcF3AAA62LTzQ:P1 (envelope-from ) for ; Mon, 23 Dec 2024 03:08:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kCiaKi3UaGcF3AAA62LTzQ (envelope-from ) for ; Mon, 23 Dec 2024 04:08:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=dVBA6K38; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FYMbSJco; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734923309; 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=EcpI7TxT2e2cYaStjYmK7v7J3jfgGAJCJlk1uaAPcBU=; b=tpI9QTN0OxDj8V1mk5vRCgF18LXus/PySfft2MzF/KrdcgBeUHuBDvRk0o2xHuI3CNn8v/ wkq44FwP+fZdmZtNfAt9NKDkXjjdxU2tvOLMlVLEVzKuqlR9KyzOJseiucelaeTAmq8mlV 5PGSq5n9eg3Co1erZuZMIEfGx9vlc3gpbMmMBnc0sRhnAjqvtQdGcveWxeTrMiRTc3fU72 9SfIKk1pjjDvmcPngt8fQXx348uKGb5mHxsygfKkKhu0zOgGqRmzomlWSgGZHL/O831JpQ PJS4DfJzNMPQrKklX6EyEQRtRUV27nIIKM0jxeX9pipvPoG0KocMXBri1e0vCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=dVBA6K38; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FYMbSJco; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734923309; a=rsa-sha256; cv=none; b=Faxoa7/AbLtnshmhDryOwPgb9ViH8aU/Je+FOPm0QWo0vAEiqskUTbUGQajskR5i5ceIoG J8xyQC2s3YEXSe/ay4WRsaubke5mwW7wRxi2VCJMvDXjm+GfOagWUpW1vq7gNhjU1h/XSW s0ilt5C3gpR+DnQf1jnvdgVNf2wMJqwPGV2xBrGe+w1piflEHC3mpKjHm75Ot4ZA8abv98 IJemfcVr4Ok8mAC2rDWhddisz2Dxqnjk5OvHjuHAPbIldPQaHp+MoxwGWvHG8xZlYlv++f OZ/RpzOUepYgMQofkj6jr8xybzKicEiVGMAHP96dDop4DFePAaW0cubFyBvMtg== 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 637F966210 for ; Mon, 23 Dec 2024 04:08:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPYWC-0007Pn-6H; Sun, 22 Dec 2024 21:50: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 1tPYWA-0007Ov-5r for guix-patches@gnu.org; Sun, 22 Dec 2024 21:50:02 -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 1tPYW9-0001Ka-RY for guix-patches@gnu.org; Sun, 22 Dec 2024 21:50:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=EcpI7TxT2e2cYaStjYmK7v7J3jfgGAJCJlk1uaAPcBU=; b=dVBA6K38MeaJlYuC7LMFL7C4dUJoTen/E+/IcyXhvwZHw9XVQB3s8xpmj2LSuwx9YdzR4WbH1nRFTLvSzd/8DEG9LXNfO7q20kyV0pdtdA2fg5CmxnVUXHjwrrIw3ofomJGIOd+B4VAG67iNBihqYxUjICfBUzYuJaQ88+6UlOe8O/QLfZns/2fjgo2+gzY2x2SFxoPwp+kDi5uk79HUUha+q35PnqW6kH0XPmxifkUf4FyjSolPNoLPDOUfvz5PL7BB5ws/W9G9I4aUg4W34t+xTBkgSsQhyRVS6dxT4rvYY/2wv0uZA1V3NZhkeOuNUezcVYbazok29j60T1uD+w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPYW9-00006j-Mf; Sun, 22 Dec 2024 21:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74992] [PATCH] import/go: Fix #:go formation. References: In-Reply-To: Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 23 Dec 2024 02:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74992 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 74992@debbugs.gnu.org Cc: Sharlatan Hellseher , Katherine Cox-Buday , Sharlatan Hellseher X-Debbugs-Original-Xcc: Katherine Cox-Buday , Sharlatan Hellseher Received: via spool by 74992-submit@debbugs.gnu.org id=B74992.1734922185377 (code B ref 74992); Mon, 23 Dec 2024 02:50:01 +0000 Received: (at 74992) by debbugs.gnu.org; 23 Dec 2024 02:49:45 +0000 Received: from localhost ([127.0.0.1]:52686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPYVt-000060-C9 for submit@debbugs.gnu.org; Sun, 22 Dec 2024 21:49:45 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:42089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPYVq-00005j-0w for 74992@debbugs.gnu.org; Sun, 22 Dec 2024 21:49:43 -0500 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-43635796b48so22863255e9.0 for <74992@debbugs.gnu.org>; Sun, 22 Dec 2024 18:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734922116; x=1735526916; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EcpI7TxT2e2cYaStjYmK7v7J3jfgGAJCJlk1uaAPcBU=; b=FYMbSJcoMWCmXFpm9M48MpVFzlccx9Jh+0kOPB8nMZPKdJrbTD+6G6+C4U4rzqlgH3 2zxuI//teDkBdameQDM8DtVKJ+3uzQXoxFK23rvhaBkUAFG9D1Y1hVikux2j7w6EmZHB zxL7qLwxn6+Ksr/85O3MuPJorrNAUeV9MVyLeldGhBRMzNeCjbrchLd6aqnc04YSGHyx 3hOSTINkj3/4jtK+g19T9SgHQw1nyMgMbNsO6KssAEpHiQaHHOnt05guq0WA/NCJxhEH wR5wrrgbtjb3ck5dcwSKAFHyOKdZV9gaP4F9NfG1OuNwMGDdYjw2lYUEY/fPrw2aj4yf 8D8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734922116; x=1735526916; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EcpI7TxT2e2cYaStjYmK7v7J3jfgGAJCJlk1uaAPcBU=; b=cEXShyb2c3qFv2lLKQ0vGBdShoWmhOXT5o3rL99LFlTd/5c51kkVXwhMtsZ8UJ6bev Y6DenbmRCnLFZPIUXx6qQM41nGpnrVmZInfR715Wi73aCQ1c6tEVzS/sYbQTcXMVIc8f MU2C67Gt88L6dTUh5snm5OLCOGxipFOmGMivZrs1VCQLDCgZCPAmDoePiehlmJ8taaKc z2x011cyHL5DOTVWiurSErZlR/eH+ml7UshsvK3jYgpEWmCWvA9VQS2iBH7Vmrctp9MF RIW31Nhj0eDRSDXQZDNyGHALDAY3ZlvwtrCBrFjWFnbUt8/Mzfv7ZPeUDHO1TcJGAs8R BxmQ== X-Gm-Message-State: AOJu0YzRSDSeImmbgYJX8n3UzCJrxEcMHLBCNs7Kjd6NaBxtXssufbKK T4y0N10IMOP3xcnlbU3hBYcnphSqnPXYyaAf/mbmIP4k9KCtmvG2h33eegRz X-Gm-Gg: ASbGncuUQufm9GqliRVAM0nDrUtX5JUO4Ix0pjpgeKTOlG0GtAc6V11jFDF3CPLBt57 e+Yr2eS+qCSJhXqDpXT3eMM9yVmyTHbdlWmVwhvyZuvmN0PeeNUnxxlH1/UhO58G0jblujPyA0A hOFUjRNxVbnHdOasuumchdMsXgQVGl3H1TMWClOl+Di7Xnm08YSQ9AVxxuRgLUNXNH9QT7T1vMq 8unuFD0iDcrQXoBKgWEiWMMbB9ItEJ94w+pOv19SutZ+T7sAPcclD9G57C+UNiId6keqiS+ViAR AJEMmDQXNQFyBg3Dnucvftt/wm76+P5SNllCnAstBN/aIRJq X-Google-Smtp-Source: AGHT+IFdt06it/2oHBLlR7/YWzXTCfE3ncwvrFGn6jWU5TPqNul33oe1bTjkfdlvZ69F8Q7khJrOCQ== X-Received: by 2002:a05:600c:4ed2:b0:42c:b8c9:16c8 with SMTP id 5b1f17b1804b1-43669a22d92mr88673735e9.10.1734922115943; Sun, 22 Dec 2024 18:48:35 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8a6dd3sm10197201f8f.96.2024.12.22.18.48.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 18:48:35 -0800 (PST) From: Sharlatan Hellseher Date: Mon, 23 Dec 2024 02:48:31 +0000 Message-ID: <18f7d731f7d9e3f3003cf9ef4f8d9aca5b7c8a90.1734922057.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.46.0 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 5.32 X-Spam-Score: 5.32 X-Migadu-Queue-Id: 637F966210 X-TUID: rOfyhwaPBbvf Reported by MSavoritias in #74992 "guix import go package definition is not valid". This change fixes it: instead of "#:go 1.22" will produce "#:go go-1.22". * guix/import/go.scm (go-module->guix-package): Fix format for #:go key argument. Change-Id: I9db0688b8e2970f5e90b415966d39b45505b7c8e --- guix/import/go.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/import/go.scm b/guix/import/go.scm index 32cba25b33..915846bed1 100644 --- a/guix/import/go.scm +++ b/guix/import/go.scm @@ -704,7 +704,9 @@ (define* (go-module->guix-package module-path #:key (build-system go-build-system) (arguments (list ,@(if (version>? min-go-version (package-version (go-package))) - `(#:go ,(string->number min-go-version)) + `(#:go ,(string->symbol + (format #f "go-~a" + (string->number min-go-version)))) '()) #:import-path ,module-path ,@(if (string=? module-path root-module-path) base-commit: 30fdffc4b5605431b28a23b03330e850b2184a76 -- 2.46.0