guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit e57e070a5b7f2eb19c00e412b54b54b0408f4fe8
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jun 13 00:06:25 2025 +0100
gnu: go-keyify: Fix build.
* gnu/packages/golang-check.scm (go-keyify) [arguments]: Inherit instead
of overwrite.
Change-Id: I87440646aeaf26c37604c0700def284c2482a1b3
---
gnu/packages/golang-check.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 40bcaca347..588f071f81 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -2801,13 +2801,20 @@ thoroughly
tool."))))
(define-public go-keyify
- (package
- (inherit go-honnef-co-go-tools)
+ (package/inherit go-honnef-co-go-tools
(name "go-keyify")
(arguments
- `(#:import-path "honnef.co/go/tools/cmd/keyify"
- #:unpack-path "honnef.co/go/tools"
- #:install-source? #f))
+ (substitute-keyword-arguments
+ (package-arguments go-honnef-co-go-tools)
+ ((#:tests? _ #t) #f)
+ ((#:install-source? _ #t) #f)
+ ((#:import-path _) "honnef.co/go/tools/cmd/keyify")
+ ((#:unpack-path _ "") "honnef.co/go/tools")))
+ (native-inputs
+ (append (package-native-inputs go-honnef-co-go-tools)
+ (package-propagated-inputs go-honnef-co-go-tools)))
+ (propagated-inputs '())
+ (inputs '())
(synopsis "Transform an unkeyed struct literal into a keyed one in Go")
(description "This package turns unkeyed struct literals (@code{T{1, 2,
3}}) into keyed ones (@code{T{A: 1, B: 2, C: 3}}) in Go.")))