From 49c6145b97066bff959cfc882cf2a658fbd0cb53 Mon Sep 17 00:00:00 2001 From: Sarah Morgensen Date: Thu, 9 Sep 2021 17:50:07 -0700 Subject: [PATCH] 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 --- 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 2dfd47d396..4577c49cba 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"