diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-07-06 21:50:53 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-07-09 08:23:04 +0200 |
commit | 11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0 (patch) | |
tree | 7be91ee904e7611a55827d7b28c8d22443db73c2 /pkgs/development/ocaml-modules | |
parent | 9b064d75d0eae614d0f5bbf087e40e918296c8cf (diff) | |
download | nixlib-11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0.tar nixlib-11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0.tar.gz nixlib-11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0.tar.bz2 nixlib-11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0.tar.lz nixlib-11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0.tar.xz nixlib-11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0.tar.zst nixlib-11c24ba9b3885c1f0c91ed3a8777664a4bc4f8b0.zip |
ocamlPackages.mirage-flow-unix: fix tests with alcotest 1.4.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-flow/unix.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-flow/unix.nix b/pkgs/development/ocaml-modules/mirage-flow/unix.nix index 3bd676b45fa0..0bd3e42ad37a 100644 --- a/pkgs/development/ocaml-modules/mirage-flow/unix.nix +++ b/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; |