From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kII4I/gET2f6GgAAe85BDQ:P1 (envelope-from ) for ; Tue, 03 Dec 2024 13:17:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kII4I/gET2f6GgAAe85BDQ (envelope-from ) for ; Tue, 03 Dec 2024 14:17:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=dhyyjTpn; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Qq6s3jN0; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733231864; a=rsa-sha256; cv=none; b=PrB6ywwC20tRnPQ6f5cnpBVH1rc6hiv/omY0/2Qo58NAqnFxyqxY/h1NWbs3MUxqby8ptR ZcYLjPOyxX0MNBKvmCvIVX+QLy9tRUkpzY0Geb5+3n4H9ne/OAdHkM+QTeyhzHUeRtWPWg 61GccN8qZ6PMYS+EuSAs2G35Kv/hJ4LiVzn0qdF6WmGD0NN8iZlUtizZjfZ4YYPG4NTBTu BVlRCNPTMrsNBUVvnYmDpKjHIEHYn4OgNLsuPmeke+xnNAU7+rP06IK6WTfxFdA82mB5hC VQ8HchiabAm402jqg1Ysw9GtgrXjjXKEmXLuuyRTFYLOWBbtJjHp47L+9jVIpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=dhyyjTpn; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Qq6s3jN0; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733231864; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ZzudPlVs8sUH1Z1PliBXNaqusBjZhQBHQUzu9s8RFEs=; b=Mog+6McIro7xCpzz/7Z0850x29KCDmtOiE79cbPPuvW485KgEhVf/rvFoCMv+OX58LThMf VGXLWsZerrXjNWD9EEXfC6602vGvtbo+csn2P3EkHdvy4gg7MCVVEul3yXBwnjkKFAI4Jv +HxDtnYVLDpseEqyLWFvYNsogENKMkgswsh5gpd/OvIzSpQoG+OUl94ImM9vxseeY99fvA tjx7zAQhqtO9/Bv+aZb+3XoF7p2WeGOPKvOc2J9dmLPMR/AgJjhyQfr8n3Oz2ydpZv5um7 qtNAyixHlBjCdzmzBRioTNHg2hcyyK6zFVPgY4vKWnoNnQq9IML0JbOn28Oynw== 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 782C783578 for ; Tue, 03 Dec 2024 14:17:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tISm9-0007po-VY; Tue, 03 Dec 2024 08:17:14 -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 1tISm4-0007kV-NB for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:08 -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 1tISm4-0006kj-FL for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:08 -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:References:In-Reply-To:Date:From:To:Subject; bh=ZzudPlVs8sUH1Z1PliBXNaqusBjZhQBHQUzu9s8RFEs=; b=dhyyjTpno0NcopzhDd6U/RNsWHYGd6kzBovUldrfFrvTQPEAMWJpy1CzIeXV/SfR6FjxBQpt3NLr9GXgb/G3A12bhhKW5ryDDnORFuhXVkKe95gXH494Jom+mJzQyPcpMMkXIsX71Gofz2Eq50F9e3YhwyWfrg1Aeq45w4/fuhTfe5cRZy5yBwhQ+01DiiZzCtUqmz61SHaxjJmtHwsLoYnwPf4FjyQv4Zay3IybA818I5gcoMr5WtmQo/0RP9aP1yb0GoAadeERUGSw0RKdQ3XnffeLihmTGO2miFMdMsMY5qPDHqyxrUdGUL9Sl4rSGSJ5H2MaPWjmUJS2lrqoyg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tISm4-0005uG-AQ for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72963] [PATCH go-team v2 13/22] gnu: Add go-inputs procedure. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 13:17:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72963@debbugs.gnu.org Received: via spool by 72963-submit@debbugs.gnu.org id=B72963.173323177722471 (code B ref 72963); Tue, 03 Dec 2024 13:17:08 +0000 Received: (at 72963) by debbugs.gnu.org; 3 Dec 2024 13:16:17 +0000 Received: from localhost ([127.0.0.1]:58655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tISlF-0005qH-EK for submit@debbugs.gnu.org; Tue, 03 Dec 2024 08:16:17 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:38731 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tISl6-0005mS-Ek for 72963@debbugs.gnu.org; Tue, 03 Dec 2024 08:16:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1733231760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZzudPlVs8sUH1Z1PliBXNaqusBjZhQBHQUzu9s8RFEs=; b=Qq6s3jN0IfS202JdJaz1KSxzwsPtFAuXPO4dSTFjcA8m7SxHpY6SY57mMQfegGSwyupaBD pXgB0YpGtAHRVUz0FnPDvwiWmaSYEr7qDupmGMna3jJuPGs2SsEXhXFEH7WbWTvUp59txL dMf0ahfwvrlAfby+/T1Ljdo/kqldLGsW3rZLrrCpHriFqMMjC0VfFD4U+yO4izz415peID /74HjvB4mdmbX6k9Skr6qJLTuAbvswproXTgdKKN07O8W9ch42C8zBReg5lzDD2hA12X1O FuV033wAIYtkveNX+QK5WgXS4mXM8l869ZSHbYotRWIeRVk2JUj5PKeVwEXVwA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id d771e60e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <72963@debbugs.gnu.org>; Tue, 3 Dec 2024 13:16:00 +0000 (UTC) Date: Tue, 3 Dec 2024 14:14:58 +0100 Message-ID: <2293dedc3c0bae436af8b5c24807832fb0948184.1733231503.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee> References: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee> 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via 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: -5.92 X-Spam-Score: -5.92 X-Migadu-Queue-Id: 782C783578 X-Migadu-Scanner: mx10.migadu.com X-TUID: lB4dEudAK9Gt * gnu/packages/golang.scm (go-inputs): Add procedure. --- gnu/packages/golang.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 95aa1eb8de..3c6cea7219 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -112,6 +112,11 @@ (define-module (gnu packages golang) ;; installation of go, so we need to use go-1.4 or gccgo. For architectures which ;; are not supported with go-1.4 we use a version of gccgo to bootstrap them. +(define-public (go-inputs package) + (call-with-values + (lambda () (unzip2 (package-propagated-inputs package))) + (lambda (labels symbols) symbols))) + (define-public go-1.4 (package (name "go") -- 2.45.2