ocamlPackages.mirage-flow-unix: fix tests with alcotest 1.4.0
This commit is contained in:
parent
9b064d75d0
commit
11c24ba9b3
|
@ -6,6 +6,11 @@ buildDunePackage {
|
||||||
|
|
||||||
inherit (mirage-flow) version useDune2 src;
|
inherit (mirage-flow) version useDune2 src;
|
||||||
|
|
||||||
|
# Make tests compatible with alcotest 1.4.0
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace test/test.ml --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ fmt logs mirage-flow ocaml_lwt cstruct ];
|
propagatedBuildInputs = [ fmt logs mirage-flow ocaml_lwt cstruct ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue