GNU bug report logs - #70092
[PATCH] gnu: Add go-1.22.

Previous Next

Package: guix-patches;

Reported by: Rodion Goritskov <rodion.goritskov <at> gmail.com>

Date: Sat, 30 Mar 2024 18:25:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70092 in the body.
You can then email your comments to 70092 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70092; Package guix-patches. (Sat, 30 Mar 2024 18:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rodion Goritskov <rodion.goritskov <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 30 Mar 2024 18:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rodion Goritskov <rodion.goritskov <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Rodion Goritskov <rodion.goritskov <at> gmail.com>
Subject: [PATCH] gnu: Add go-1.22.
Date: Sat, 30 Mar 2024 22:22:21 +0400
* gnu/packages/golang.scm (go-1.22): New variable.

Change-Id: I3a5e4ddf28471602344cd042820b3d23f6113fa9
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 385da42eda..f0940f4586 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1114,6 +1114,31 @@ (define-public go-1.21
                      ("api"          "share/go/api"        ,tests)
                      ("test"         "share/go/test"       ,tests))))))))))))
 
+(define-public go-1.22
+  (package
+    (inherit go-1.21)
+    (name "go")
+    (version "1.22.1")
+    (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 "01zz8n5c32vympr2l9jdg5pzn63d3z28p0d4q6wmd0pr2jd3l3wn"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments go-1.21)
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (delete 'unpatch-perl-shebangs)))))
+    (native-inputs
+     ;; Go 1.22 requires Go 1.20 or later as the bootstrap toolchain.
+     (alist-replace "go"
+                    (list go-1.21)
+                    (package-native-inputs go-1.21)))))
+
 (define-public go go-1.17)
 
 (define make-go-std
@@ -1157,6 +1182,7 @@ (define-public go-std-1.18 (make-go-std go-1.18))
 (define-public go-std-1.19 (make-go-std go-1.19))
 (define-public go-std-1.20 (make-go-std go-1.20))
 (define-public go-std-1.21 (make-go-std go-1.21))
+(define-public go-std-1.22 (make-go-std go-1.22))
 
 (define-public go-0xacab-org-leap-shapeshifter
   (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")

base-commit: 350cdbe83819233b6db9fb1cfc797eaf80b0d168
prerequisite-patch-id: c54d19e7e00697430d955942249f8ac06a0d5e0d
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70092; Package guix-patches. (Sat, 30 Mar 2024 20:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 70092 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 70092 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH] gnu: Add go-1.22.
Date: Sat, 30 Mar 2024 20:15:56 +0000
[Message part 1 (text/plain, inline)]
Hi,

The fresh golang is in go-team branch.

I need to set up CI to check the build,  or wait for someone with
admin rights to ci.guix.gnu.org to set ^.^

Thanks,
Oleg
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#70092; Package guix-patches. (Mon, 01 Apr 2024 00:37:02 GMT) Full text and rfc822 format available.

Message #11 received at 70092 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 70092 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add go-1.22.
Date: Sun, 31 Mar 2024 20:36:07 -0400
Hi Sharlatan,

Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:

> Hi,
>
> The fresh golang is in go-team branch.
>
> I need to set up CI to check the build,  or wait for someone with
> admin rights to ci.guix.gnu.org to set ^.^

I've just sent you a TLS cert for Cuirass; you should now be able to
manage this yourself (i.e. create the job specification for the go-team
branch) via the Cuirass web interface.

-- 
Thanks,
Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#70092; Package guix-patches. (Mon, 01 Apr 2024 11:17:02 GMT) Full text and rfc822 format available.

Message #14 received at 70092 <at> debbugs.gnu.org (full text, mbox):

From: Rodion Goritskov <rodion.goritskov <at> gmail.com>
To: 70092 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add go-1.22.
Date: Mon, 1 Apr 2024 11:16:10 +0000
[Message part 1 (text/plain, inline)]
close 70092
[Message part 2 (text/html, inline)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Tue, 16 Apr 2024 18:27:05 GMT) Full text and rfc822 format available.

Notification sent to Rodion Goritskov <rodion.goritskov <at> gmail.com>:
bug acknowledged by developer. (Tue, 16 Apr 2024 18:27:05 GMT) Full text and rfc822 format available.

Message #19 received at 70092-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 70092-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add go-1.22.
Date: Tue, 16 Apr 2024 19:26:13 +0100
[Message part 1 (text/plain, inline)]

[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 15 May 2024 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.