unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70092] [PATCH] gnu: Add go-1.22.
@ 2024-03-30 18:22 Rodion Goritskov
  2024-03-30 20:15 ` Sharlatan Hellseher
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Rodion Goritskov @ 2024-03-30 18:22 UTC (permalink / raw)
  To: 70092; +Cc: Rodion Goritskov

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#70092] [PATCH] gnu: Add go-1.22.
  2024-03-30 18:22 [bug#70092] [PATCH] gnu: Add go-1.22 Rodion Goritskov
@ 2024-03-30 20:15 ` Sharlatan Hellseher
  2024-04-01  0:36   ` Maxim Cournoyer
  2024-04-01 11:16 ` Rodion Goritskov
  2024-04-16 18:26 ` bug#70092: " Sharlatan Hellseher
  2 siblings, 1 reply; 5+ messages in thread
From: Sharlatan Hellseher @ 2024-03-30 20:15 UTC (permalink / raw)
  To: 70092; +Cc: Maxim Cournoyer

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 409 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#70092] [PATCH] gnu: Add go-1.22.
  2024-03-30 20:15 ` Sharlatan Hellseher
@ 2024-04-01  0:36   ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2024-04-01  0:36 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 70092

Hi Sharlatan,

Sharlatan Hellseher <sharlatanus@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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#70092] [PATCH] gnu: Add go-1.22.
  2024-03-30 18:22 [bug#70092] [PATCH] gnu: Add go-1.22 Rodion Goritskov
  2024-03-30 20:15 ` Sharlatan Hellseher
@ 2024-04-01 11:16 ` Rodion Goritskov
  2024-04-16 18:26 ` bug#70092: " Sharlatan Hellseher
  2 siblings, 0 replies; 5+ messages in thread
From: Rodion Goritskov @ 2024-04-01 11:16 UTC (permalink / raw)
  To: 70092

[-- Attachment #1: Type: text/plain, Size: 12 bytes --]

close 70092

[-- Attachment #2: Type: text/html, Size: 37 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#70092: [PATCH] gnu: Add go-1.22.
  2024-03-30 18:22 [bug#70092] [PATCH] gnu: Add go-1.22 Rodion Goritskov
  2024-03-30 20:15 ` Sharlatan Hellseher
  2024-04-01 11:16 ` Rodion Goritskov
@ 2024-04-16 18:26 ` Sharlatan Hellseher
  2 siblings, 0 replies; 5+ messages in thread
From: Sharlatan Hellseher @ 2024-04-16 18:26 UTC (permalink / raw)
  To: 70092-done

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: Type: text/html, Size: 23 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-16 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-30 18:22 [bug#70092] [PATCH] gnu: Add go-1.22 Rodion Goritskov
2024-03-30 20:15 ` Sharlatan Hellseher
2024-04-01  0:36   ` Maxim Cournoyer
2024-04-01 11:16 ` Rodion Goritskov
2024-04-16 18:26 ` bug#70092: " Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).