mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
import/go: Fix #:go formation.
Reported by MSavoritias <email@msavoritias.me> in #74992 "guix import go package definition is not valid". This change fixes it: instead of "#:go 1.22" will produce "#:go go-1.22". * guix/import/go.scm (go-module->guix-package): Fix format for #:go key argument. Change-Id: I9db0688b8e2970f5e90b415966d39b45505b7c8e
This commit is contained in:
parent
08a5048092
commit
f0adcca9db
1 changed files with 3 additions and 1 deletions
|
@ -714,7 +714,9 @@ (define* (go-module->guix-package module-path #:key
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list ,@(if (version>? min-go-version (package-version (go-package)))
|
||||
`(#:go ,(string->number min-go-version))
|
||||
`(#:go ,(string->symbol
|
||||
(format #f "go-~a"
|
||||
(string->number min-go-version))))
|
||||
'())
|
||||
#:import-path ,module-path
|
||||
,@(if (string=? module-path root-module-path)
|
||||
|
|
Loading…
Reference in a new issue