guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 0d4f2bcb4389594b64c84ae3772b171a30943a74
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Sep 16 11:48:21 2026 +0300
build-system: go: Adjust selection of default go.
* guix/build-system/go.scm (lower): Decide if (default-go) is supported
based on the system, not (%current-system).
Change-Id: Ia3136f73e3022e22e5c745d2b751989ec2fbda74
---
guix/build-system/go.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/guix/build-system/go.scm b/guix/build-system/go.scm
index 2c19087046d..d79429d9cf9 100644
--- a/guix/build-system/go.scm
+++ b/guix/build-system/go.scm
@@ -141,9 +141,9 @@ commit hash and its date rather than a proper release tag."
(define* (lower name
#:key source inputs native-inputs outputs system target
- (go (if (supported-package? (default-go))
- (default-go)
- (default-gccgo)))
+ (go (if (supported-package? (default-go) system)
+ (default-go)
+ (default-gccgo)))
#:allow-other-keys
#:rest arguments)
"Return a bag for NAME."