unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61222] [PATCH 0/2] gnu: Add go-1.20.
@ 2023-02-02  3:48 Hilton Chain via Guix-patches via
       [not found] ` <handler.61222.B.167530972518074.ack@debbugs.gnu.org>
  2023-02-09 13:28 ` [bug#61222] [PATCH 0/2] gnu: Add go-1.20 Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-02-02  3:48 UTC (permalink / raw)
  To: 61222


*** BLURB HERE ***

Hilton Chain (2):
  gnu: Add go-1.20.
  gnu: Add go-std-1.20.

 gnu/packages/golang.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)


base-commit: 43eed907d22b094c5a9b2931ca5e72caf2b95991
--
2.39.1




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

* [bug#61222] [PATCH 1/2] gnu: Add go-1.20.
       [not found] ` <handler.61222.B.167530972518074.ack@debbugs.gnu.org>
@ 2023-02-02  3:49   ` Hilton Chain via Guix-patches via
  2023-02-02  3:50     ` [bug#61222] [PATCH 2/2] gnu: Add go-std-1.20 Hilton Chain via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-02-02  3:49 UTC (permalink / raw)
  To: 61222; +Cc: Hilton Chain


* 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





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

* [bug#61222] [PATCH 2/2] gnu: Add go-std-1.20.
  2023-02-02  3:49   ` [bug#61222] [PATCH 1/2] " Hilton Chain via Guix-patches via
@ 2023-02-02  3:50     ` Hilton Chain via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-02-02  3:50 UTC (permalink / raw)
  To: 61222; +Cc: Hilton Chain


* gnu/packages/golang.scm (go-std-1.20): New variable.
---
 gnu/packages/golang.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2d5d1dca43..1fbc96b693 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -949,6 +949,7 @@ (define-public go-std-1.16 (make-go-std go-1.16))
 (define-public go-std-1.17 (make-go-std go-1.17))
 (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-0xacab-org-leap-shapeshifter
   (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474")
-- 
2.39.1





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

* [bug#61222] [PATCH 0/2] gnu: Add go-1.20.
  2023-02-02  3:48 [bug#61222] [PATCH 0/2] gnu: Add go-1.20 Hilton Chain via Guix-patches via
       [not found] ` <handler.61222.B.167530972518074.ack@debbugs.gnu.org>
@ 2023-02-09 13:28 ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2023-02-09 13:28 UTC (permalink / raw)
  To: 61222; +Cc: 61222-done

On Thu, Feb 02, 2023 at 11:48:07AM +0800, Hilton Chain via Guix-patches via wrote:
> 
> *** BLURB HERE ***
> 
> Hilton Chain (2):
>   gnu: Add go-1.20.
>   gnu: Add go-std-1.20.

Thanks! I tweaked the commit messages, added some more details to the
code comment, and pushed as 1a5f5694a7cd4bb19e9de27266e06b80d33d95cd




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

end of thread, other threads:[~2023-02-09 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02  3:48 [bug#61222] [PATCH 0/2] gnu: Add go-1.20 Hilton Chain via Guix-patches via
     [not found] ` <handler.61222.B.167530972518074.ack@debbugs.gnu.org>
2023-02-02  3:49   ` [bug#61222] [PATCH 1/2] " Hilton Chain via Guix-patches via
2023-02-02  3:50     ` [bug#61222] [PATCH 2/2] gnu: Add go-std-1.20 Hilton Chain via Guix-patches via
2023-02-09 13:28 ` [bug#61222] [PATCH 0/2] gnu: Add go-1.20 Leo Famulari

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).