diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-08-05 13:20:06 -0700 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-08-05 22:56:46 -0400 |
commit | 733ca63bcd2854757b5b1de0b71f4407f682e15c (patch) | |
tree | 0520f2e55d280ed425227d844f4a4e242a1a7005 /gnu/packages/golang.scm | |
parent | d0d3bcc615f1d521ea60a8b2e085767e0adb05b6 (diff) | |
download | guix-733ca63bcd2854757b5b1de0b71f4407f682e15c.tar.gz |
gnu: go-github-com-bmatcuk-doublestar: Remove test incompatible with go-1.16.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar) [phases]{remove-incompatible-test}: New phase. Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r-- | gnu/packages/golang.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 89020648f0..c52bf72c8d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6483,7 +6483,15 @@ template functions.") "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/bmatcuk/doublestar")) + `(#:import-path "github.com/bmatcuk/doublestar" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-incompatible-test + ;; This test fails with Go 1.16. + (lambda _ + (substitute* "src/github.com/bmatcuk/doublestar/doublestar_test.go" + (("\\{\"a\\[\", \"a\", false, nil, false\\},.*") + ""))))))) (home-page "https://github.com/bmatcuk/doublestar/") (synopsis "Path pattern matching and globbing supporting doublestar") (description "@code{doublestar} is a Go implementation of path pattern |