mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: ocaml-dose3: Fix tests.
* gnu/packages/ocaml.scm (ocaml-dose3)[arguments]<#:phases>: Add phase to patch tests script. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
976a49bacc
commit
91b29aa373
1 changed files with 8 additions and 1 deletions
|
@ -647,7 +647,14 @@ (define-public ocaml-dose3
|
|||
#:make-flags
|
||||
(list (string-append "LIBDIR="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib/ocaml/site-lib"))))
|
||||
"/lib/ocaml/site-lib"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-test-script
|
||||
(lambda _
|
||||
(substitute* "applications/dose-tests.py"
|
||||
(("warning\\(")
|
||||
"from warnings import warn\nwarn(")))))))
|
||||
(propagated-inputs
|
||||
`(("ocaml-graph" ,ocaml-graph)
|
||||
("ocaml-cudf" ,ocaml-cudf)
|
||||
|
|
Loading…
Reference in a new issue