guix_mirror_bot pushed a commit to branch go-team in repository guix. commit b2a44afb42f7c2c0d19785f958812c56d05d373a Author: Sharlatan Hellseher <sharlata...@gmail.com> 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 859f1305c9..19779ab709 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -2977,13 +2977,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.")))