guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit 4d90abbf580112634b0fbb774ce647a5f21c5d5e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Apr 30 23:51:59 2026 +0100

    gnu: packages/golang: Add comment about boostrap versions.
    
    * gnu/packages/golang.scm: Copy upstream explanation on the minimal
    bootstrap version for Go.
    
    Change-Id: Ic51e9316bdd5573c1a158b320343ae72a07eeebe
---
 gnu/packages/golang.scm | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index aad6bbe8eb..bf4f926832 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -25,7 +25,7 @@
 ;;; Copyright © 2020 Martin Becze <[email protected]>
 ;;; Copyright © 2021, 2022 Ricardo Wurmus <[email protected]>
 ;;; Copyright © 2021 Guillaume Le Vaillant <[email protected]>
-;;; Copyright © 2021-2025 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2021-2026 Sharlatan Hellseher <[email protected]>
 ;;; Copyright © 2021 Sarah Morgensen <[email protected]>
 ;;; Copyright © 2021 Raghav Gururajan <[email protected]>
 ;;; Copyright © 2021 jgart <[email protected]>
@@ -95,6 +95,18 @@
 ;; go-1.18.  Starting with go-1.5 go cannot be built without an existing
 ;; installation of go, so we need to use go-1.4 or gccgo.  For architectures 
which
 ;; are not supported with go-1.4 we use a version of gccgo to bootstrap them.
+;;
+;; The minimum version of Go required depends on the target version of Go:
+;;
+;;     Go <= 1.4: a C toolchain.
+;;     1.5 <= Go <= 1.19: a Go 1.4 compiler.
+;;     1.20 <= Go <= 1.21: a Go 1.17 compiler.
+;;     1.22 <= Go <= 1.23: a Go 1.20 compiler.
+;;
+;; Going forward, Go version 1.N will require a Go 1.M compiler, where M is
+;; N-2 rounded down to an even number.
+;; Example: Go 1.24 and 1.25 require Go 1.22.
+;; See: <https://go.dev/doc/install/source>.
 
 (define-public go-1.4
   (package

Reply via email to