From: Rodion Goritskov <rodion.goritskov@gmail.com>
To: 70092@debbugs.gnu.org
Cc: Rodion Goritskov <rodion.goritskov@gmail.com>
Subject: [bug#70092] [PATCH] gnu: Add go-1.22.
Date: Sat, 30 Mar 2024 22:22:21 +0400 [thread overview]
Message-ID: <890b87b179f713ad14e8de849d92a25e1d483cc1.1711822941.git.rodion.goritskov@gmail.com> (raw)
* 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
next reply other threads:[~2024-03-30 18:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-30 18:22 Rodion Goritskov [this message]
2024-03-30 20:15 ` [bug#70092] [PATCH] gnu: Add go-1.22 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=890b87b179f713ad14e8de849d92a25e1d483cc1.1711822941.git.rodion.goritskov@gmail.com \
--to=rodion.goritskov@gmail.com \
--cc=70092@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).