mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-21 02:03:29 -05:00
gnu: ocaml-mdx: Fix tests.
* gnu/packages/ocaml.scm (ocaml-mdx)[arguments]: Substitue obsolete 'egrep' by 'grep -E'. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
8557eb9ffb
commit
a957171bc4
1 changed files with 6 additions and 1 deletions
|
@ -9230,7 +9230,12 @@ (define-public ocaml-mdx
|
||||||
"test/bin/mdx-test/misc/no-such-prelude/test.expected")
|
"test/bin/mdx-test/misc/no-such-prelude/test.expected")
|
||||||
(("`") "'")
|
(("`") "'")
|
||||||
(("COMMAND") "[COMMAND]")
|
(("COMMAND") "[COMMAND]")
|
||||||
(("\\.\\.\\.") "…")))))))
|
(("\\.\\.\\.") "…"))))
|
||||||
|
(add-after 'fix-test-format 'fix-egrep
|
||||||
|
(lambda _
|
||||||
|
;; egrep is obsolescent; using grep -E
|
||||||
|
(substitute* "test/bin/mdx-test/expect/padding/test-case.md"
|
||||||
|
(("egrep") "grep -E")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list ocaml-fmt
|
(list ocaml-fmt
|
||||||
ocaml-astring
|
ocaml-astring
|
||||||
|
|
Loading…
Reference in a new issue