guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: gnu: go-structlayout: Fix build.


From: guix-commits
Subject: 03/05: gnu: go-structlayout: Fix build.
Date: Thu, 1 Feb 2024 02:53:24 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit d2364f179700b0ab0ccbbaa57d35adaca234fe81
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Feb 1 07:46:54 2024 +0000

    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 5ab289d961..380ff7e149 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]