mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: go-gopkg.in-tomb.v2: Fix build.
Looks like this test isn't compiling with newer versions of go, so fix it to get the package building again. * gnu/packages/golang.scm (go-gopkg.in-tomb.v2)[arguments]: Add new patch-source phase.
This commit is contained in:
parent
30a1f6e214
commit
69a64ecd66
1 changed files with 10 additions and 1 deletions
|
@ -632,7 +632,16 @@ (define-public go-gopkg.in-tomb.v2
|
|||
"1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "gopkg.in/tomb.v2"))
|
||||
'(#:import-path "gopkg.in/tomb.v2"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda _
|
||||
;; Add a missing % to fix the compilation of this test
|
||||
(substitute* "src/gopkg.in/tomb.v2/tomb_test.go"
|
||||
(("t.Fatalf\\(`Killf\\(\"BO%s")
|
||||
"t.Fatalf(`Killf(\"BO%%s"))
|
||||
#t)))))
|
||||
(synopsis "@code{tomb} handles clean goroutine tracking and termination")
|
||||
(description
|
||||
"The @code{tomb} package handles clean goroutine tracking and
|
||||
|
|
Loading…
Reference in a new issue