me
/
guix
Archived
1
0
Fork 0

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>
master
Sarah Morgensen 2021-09-09 17:50:08 -07:00 committed by Leo Famulari
parent 49c6145b97
commit 4e1adbc3b0
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 6 additions and 0 deletions

View File

@ -1558,6 +1558,12 @@ Go.")
(url "https://github.com/sevlyar/go-daemon") (url "https://github.com/sevlyar/go-daemon")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name 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 (sha256
(base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk")))) (base32 "1y3gnxaifykcjcbzx91lz9bc93b95w3xj4rjxjbii26pm3j7gqyk"))))
(build-system go-build-system) (build-system go-build-system)