summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSarah Morgensen <iskarian@mgsn.dev>2021-09-09 17:50:08 -0700
committerLeo Famulari <leo@famulari.name>2021-09-09 21:34:50 -0400
commit4e1adbc3b0b6694785476f4f01fbd8004fdfb5a3 (patch)
treee0fc2606ec20e98e337f53f341af744a55fe48e8 /gnu
parent49c6145b97066bff959cfc882cf2a658fbd0cb53 (diff)
downloadguix-4e1adbc3b0b6694785476f4f01fbd8004fdfb5a3.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4577c49cba..b08796e22a 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)