ocamlPackages.mirage-flow-unix: fix tests with alcotest 1.4.0

wip/nixpkgs-raku
Vincent Laporte 3 years ago committed by Vincent Laporte
parent 9b064d75d0
commit 11c24ba9b3
  1. 5
      pkgs/development/ocaml-modules/mirage-flow/unix.nix

@ -6,6 +6,11 @@ buildDunePackage {
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 ];
doCheck = true;

Loading…
Cancel
Save