guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: go-github-com-keybase-go-ps: Fix tests when building with Go


From: guix-commits
Subject: 01/04: gnu: go-github-com-keybase-go-ps: Fix tests when building with Go 1.17.
Date: Thu, 9 Sep 2021 21:35:55 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 49c6145b97066bff959cfc882cf2a658fbd0cb53
Author: Sarah Morgensen <iskarian@mgsn.dev>
AuthorDate: Thu Sep 9 17:50:07 2021 -0700

    gnu: go-github-com-keybase-go-ps: Fix tests when building with Go 1.17.
    
    * gnu/packages/golang.scm (go-github-com-keybase-go-ps)[arguments]
    <#:phases>{fix-tests}: Remove extraneous build line to appease go@1.17.
    
    Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/golang.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2dfd47d..4577c49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1597,7 +1597,9 @@ Go.")
                  (("/bin/sleep" command)
                   (string-append
                    (assoc-ref (or native-inputs inputs) "coreutils")
-                   command))))))))
+                   command)))
+               (substitute* "src/github.com/keybase/go-ps/process_openbsd.go"
+                 (("^// \\+build ignore") "")))))))
       (native-inputs
        `(("coreutils" ,coreutils)
          ("go-github-com-stretchr-testify"



reply via email to

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