~ruther/guix-local

8557eb9ffb909d5df8aba5ca1c444f23f083d7e9 — Simon Tournier 3 years ago ac8b2a0
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>
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/ocaml.scm
M gnu/packages/ocaml.scm => gnu/packages/ocaml.scm +6 -1
@@ 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