gnu: go-structlayout: Fix build.

* gnu/packages/golang-check.scm (go-structlayout) [arguments] <#:go>:
Swap to go-1.20.

Change-Id: I97721cec7624a89439113cf089599d4229ff1d33
This commit is contained in:
Sharlatan Hellseher 2024-02-01 07:46:54 +00:00
parent eff0cdd28f
commit d2364f1797
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -689,7 +689,8 @@ (define-public go-structlayout
(inherit go-honnef-co-go-tools)
(name "go-structlayout")
(arguments
`(#:import-path "honnef.co/go/tools/cmd/structlayout"
`(#:go ,go-1.20
#:import-path "honnef.co/go/tools/cmd/structlayout"
#:unpack-path "honnef.co/go/tools"
#:install-source? #f))
(synopsis "Display the layout (field sizes and padding) of structs in Go")