diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-04-12 19:09:39 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2023-04-12 21:43:47 +0200 |
commit | 8557eb9ffb909d5df8aba5ca1c444f23f083d7e9 (patch) | |
tree | b2fefc639254cdaba0ab7f2cfa25b52d3594ea15 /gnu/packages | |
parent | ac8b2a0469a4884353ac5c0f0854012da0b04fda (diff) | |
download | guix-8557eb9ffb909d5df8aba5ca1c444f23f083d7e9.tar.gz |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ocaml.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c6dca2874f..f1c4e35044 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -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 |