gnu: go-structlayout-optimize: Fix build.

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

Change-Id: I8ca2f7be5749e8f54c7decc84853ae3f665ba97c
This commit is contained in:
Sharlatan Hellseher 2024-02-01 07:48:00 +00:00
parent d2364f1797
commit 834c639053
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -704,7 +704,8 @@ (define-public go-structlayout-optimize
(inherit go-honnef-co-go-tools)
(name "go-structlayout-optimize")
(arguments
`(#:import-path "honnef.co/go/tools/cmd/structlayout-optimize"
`(#:go ,go-1.20
#:import-path "honnef.co/go/tools/cmd/structlayout-optimize"
#:unpack-path "honnef.co/go/tools"
#:install-source? #f))
(synopsis "Reorder struct fields to minimize the amount of padding in Go")