me
/
guix
Archived
1
0
Fork 0

gnu: go-structlayout-optimize: Fix build.

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

Change-Id: I8ca2f7be5749e8f54c7decc84853ae3f665ba97c
master
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
1 changed files with 2 additions and 1 deletions

View File

@ -704,7 +704,8 @@ flag.")))
(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")