guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: go-structlayout-optimize: Fix build.


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

sharlatan pushed a commit to branch master
in repository guix.

commit 834c63905322ac0f8f48168cc63d3d360f499e58
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Feb 1 07:48:00 2024 +0000

    gnu: go-structlayout-optimize: Fix build.
    
    * gnu/packages/golang-check.scm (go-structlayout-optimize) [arguments]
    <#:go>: Swap to go-1.20.
    
    Change-Id: I8ca2f7be5749e8f54c7decc84853ae3f665ba97c
---
 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 380ff7e149..64e455d98f 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -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")



reply via email to

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