guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: go-gopkg.in-asn1-ber.v1: Fix tests for go-1.11.


From: Pierre Neidhardt
Subject: 05/07: gnu: go-gopkg.in-asn1-ber.v1: Fix tests for go-1.11.
Date: Mon, 12 Nov 2018 04:32:47 -0500 (EST)

ambrevar pushed a commit to branch master
in repository guix.

commit 66fa8f0f77ac26766e5547ffdaa67cf6c261bd8e
Author: Pierre Neidhardt <address@hidden>
Date:   Tue Nov 6 18:10:42 2018 +0100

    gnu: go-gopkg.in-asn1-ber.v1: Fix tests for go-1.11.
    
    * gnu/packages/syncthing.scm (go-gopkg.in-asn1-ber.v1): Fix tests for 
go-1.11.
---
 gnu/packages/syncthing.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 7e4ff0e..c29c88a 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1267,7 +1267,16 @@ Prometheus HTTP API.")
                 "1y8bvzbxpw0lfnn7pbcdwzqj4l90qj6xf88dvv9pxd9yl5g6cskx"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "gopkg.in/asn1-ber.v1"))
+     '(#:import-path "gopkg.in/asn1-ber.v1"
+       ;; Tests don't pass "vet" on go-1.11.  See
+       ;; https://github.com/go-asn1-ber/asn1-ber/issues/20.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key import-path #:allow-other-keys)
+             (invoke "go" "test"
+                     "-vet=off"
+                     import-path))))))
     (synopsis "ASN.1 BER encoding and decoding in Go")
     (description "This package provides ASN.1 BER encoding and decoding in the
 Go language.")



reply via email to

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