[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: go-github-com-sevlyar-go-daemon: Fix tests when building wit
From: |
guix-commits |
Subject: |
02/04: gnu: go-github-com-sevlyar-go-daemon: 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 4e1adbc3b0b6694785476f4f01fbd8004fdfb5a3
Author: Sarah Morgensen <iskarian@mgsn.dev>
AuthorDate: Thu Sep 9 17:50:08 2021 -0700
gnu: go-github-com-sevlyar-go-daemon: Fix tests when building with Go 1.17.
* gnu/packages/golang.scm (go-github-com-sevlyar-go-daemon)[source]:
Add snippet to fix tests for go@1.17.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/golang.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4577c49..b08796e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1558,6 +1558,12 @@ Go.")
(url "https://github.com/sevlyar/go-daemon")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ (snippet
+ ;; XXX: Remove when updating
+ '(begin
+ (substitute* "compilation_test.go"
+ ((".*\"darwin/386\".*") ""))))
(sha256
(base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
(build-system go-build-system)