From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IN6HJEIz22OImAAAbAwnHQ (envelope-from ) for ; Thu, 02 Feb 2023 04:51:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iLuDJEIz22MKUwEAauVa8A (envelope-from ) for ; Thu, 02 Feb 2023 04:51:30 +0100 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 6ED691830E for ; Thu, 2 Feb 2023 04:51:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNQcq-0002XQ-KC; Wed, 01 Feb 2023 22:51: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 1pNQco-0002Wp-HJ for guix-patches@gnu.org; Wed, 01 Feb 2023 22:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNQco-00083d-9p for guix-patches@gnu.org; Wed, 01 Feb 2023 22:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNQco-0004lu-4u for guix-patches@gnu.org; Wed, 01 Feb 2023 22:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61222] [PATCH 1/2] gnu: Add go-1.20. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Feb 2023 03:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61222@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 61222-submit@debbugs.gnu.org id=B61222.167530980818256 (code B ref 61222); Thu, 02 Feb 2023 03:51:02 +0000 Received: (at 61222) by debbugs.gnu.org; 2 Feb 2023 03:50:08 +0000 Received: from localhost ([127.0.0.1]:60311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNQbw-0004kO-FP for submit@debbugs.gnu.org; Wed, 01 Feb 2023 22:50:08 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:39436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNQbt-0004jd-Md for 61222@debbugs.gnu.org; Wed, 01 Feb 2023 22:50:06 -0500 Date: Thu, 02 Feb 2023 11:49:37 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1675309799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uKbU8JEfOllTCmqBlslubWXBJkofNeQHwrSuormOtek=; b=rLcbcPY6cgwYtHgxz43LZDx1tJzKjII7TLBjOKeCErBYO+DGaRAhLlS8AcOjq+vaMhvcW+ 06HastyL4LRFOQMnsoK12oDES74x9s5WzqcyTVbrwxof3CXcZmkYHaiRWlZ1Cm84dcmDEY za0OiYAEl5UpD2cssY5dJ8rs05OhYWUmJMcOe2xzssO1ggoM1QCyFmTNZbP4HFVkhjck99 IQMCI/8JYep3JK/YSU36o6y00RHaCKv2B1Kfr6qJHYlth4Al605lI2wbpuhjTK3HmYnvVM vZ9Jts5t4GESczDHJfDEAFs8jHbXXyjkywH4uYghS7fxn5IAZQRAyCyHexcWUQ== Message-ID: <875yck9166.wl-hako@ultrarare.space> In-Reply-To: References: <877cx0918o.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675309890; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=uKbU8JEfOllTCmqBlslubWXBJkofNeQHwrSuormOtek=; b=LRMVzP9vu1sXRys91j8hfKx68EolHlBHun8xE1tyunA0yzPZMAujDSWPGUQ8qrA9cKv1wG MAf8OKko0OHRfkv8QnrGMr6CyWgH1z3JQnCXndfiSII7AO7EfeB0L/OzsGvblLReMGFtMY /SNl0+TY7XNERZZB6Ed5Ct88yc2RBCPOGohpxG+Fgk0NO2ECZtYXrrDJ0ieLv93VDuiyAD mOqtAyGhFeC3xBVyvEX+eDVcScJoQs0QuPqvC+8pJFNz3duo2keOxrEt9DUmhGUk4Wp3DQ ImXRWJlB9/ODniO5ijralCwyj7DlhXwETuHPhg4bLX77MMe0gAYwMn+j1jxTwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=rLcbcPY6; 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=1675309890; a=rsa-sha256; cv=none; b=iQy8ab5wk++oTkAfuKFLH68psScA724Nu3pHSIH60CAYuNuFhJ5vgnOzR7nbDEJig0PPD+ tHhoh6AN3KQO1r3NT4rDG5jiZ7bokYOa5egxWM1H5bQtL1GqRTSY6csqPmXp3Gj8yAY0V/ LmQfeWb6eIxuUIsVSlR8HOB92GkgoJaOWfo8KQAxUg9MDOcsVzcQVo1YEF+eQkEdB8d0ji Ij/rBFimfRrA+WHhS7rn9fB3uMUn/gTPGUTAetUgh/UUatJyrqkF/FI5jQ3rJzkwydgynC Y3s0QBxAJWLXGF/UdXuVfh7kPt13AureIbFoznkjEnkq6TJnIGdoA+cZyOzBfw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=rLcbcPY6; 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 X-Migadu-Scanner: scn0.migadu.com X-Spam-Score: -2.88 X-Migadu-Queue-Id: 6ED691830E X-Migadu-Spam-Score: -2.88 X-TUID: pb3Z5atprWYv * gnu/packages/golang.scm (go-1.20): New variable. --- gnu/packages/golang.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 93df6cb061..2d5d1dca43 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -889,6 +889,25 @@ (define-public go-1.19 '("CONTRIBUTING.md" "PATENTS" "README.md" "SECURITY.md")))))))))) +(define-public go-1.20 + (package + (inherit go-1.19) + (name "go") + (version "1.20") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang/go") + (commit (string-append "go" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0a7wjzv14kaqg5l7ambv5zj4rj7sgah9yhcg6k6da6ygm6bs4dv3")))) + (native-inputs + ;; Go 1.20 and later requires Go 1.17 as the bootstrap toolchain. + ;; See `src/cmd/dist/notgo117.go`. + (alist-replace "go" (list go-1.17) (package-native-inputs go-1.17))))) + (define-public go go-1.17) (define make-go-std -- 2.39.1