me
/
guix
Archived
1
0
Fork 0

gnu: ocaml-ppxlib: Fix tests.

* gnu/packages/ocaml.scm (ocaml-ppxlib)[arguments]: Substitue obsolete 'egrep'
by 'grep -E'.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
master
Simon Tournier 2023-04-12 19:09:39 +02:00 committed by Julien Lepiller
parent ac8b2a0469
commit 8557eb9ffb
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 6 additions and 1 deletions

View File

@ -6660,7 +6660,12 @@ the OCaml code.")
(substitute* "test/ppx_import_support/test.ml"
(("\\(Failure") "Failure")
((" \"(Some ppx-es.*)\")" _ m)
(string-append " \"" m "\"."))))))))
(string-append " \"" m "\".")))))
(add-after 'fix-test-format 'fix-egrep
(lambda _
;; egrep is obsolescent; using grep -E
(substitute* "test/expansion_context/run.t"
(("egrep") "grep -E")))))))
(propagated-inputs
(list ocaml-compiler-libs
ocaml-ppx-derivers