From d2364f179700b0ab0ccbbaa57d35adaca234fe81 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 1 Feb 2024 07:46:54 +0000 Subject: [PATCH] gnu: go-structlayout: Fix build. * gnu/packages/golang-check.scm (go-structlayout) [arguments] <#:go>: Swap to go-1.20. Change-Id: I97721cec7624a89439113cf089599d4229ff1d33 --- gnu/packages/golang-check.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 5ab289d96154b149aa3c7c79e2c6a866a5474501..380ff7e14918f3ed2653c367238029e33c02c9f5 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -689,7 +689,8 @@ simplifications, and enforces style rules."))) (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")