diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-07-06 21:50:50 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-07-09 08:23:04 +0200 |
commit | 9b064d75d0eae614d0f5bbf087e40e918296c8cf (patch) | |
tree | ba4ef581e199adf57b5c3005211213e5d5355dbb /pkgs/development/ocaml-modules | |
parent | 07e185c5a8de73df62fa87f6210683e31c51c448 (diff) | |
download | nixlib-9b064d75d0eae614d0f5bbf087e40e918296c8cf.tar nixlib-9b064d75d0eae614d0f5bbf087e40e918296c8cf.tar.gz nixlib-9b064d75d0eae614d0f5bbf087e40e918296c8cf.tar.bz2 nixlib-9b064d75d0eae614d0f5bbf087e40e918296c8cf.tar.lz nixlib-9b064d75d0eae614d0f5bbf087e40e918296c8cf.tar.xz nixlib-9b064d75d0eae614d0f5bbf087e40e918296c8cf.tar.zst nixlib-9b064d75d0eae614d0f5bbf087e40e918296c8cf.zip |
ocamlPackages.mirage-channel: fix tests with alcotest 1.4.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-channel/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-channel/default.nix b/pkgs/development/ocaml-modules/mirage-channel/default.nix index 5b639e6fdd6e..227e821e1924 100644 --- a/pkgs/development/ocaml-modules/mirage-channel/default.nix +++ b/pkgs/development/ocaml-modules/mirage-channel/default.nix @@ -14,6 +14,11 @@ buildDunePackage rec { sha256 = "0wmb2zhiyp8n78xgcspcsyd19bhcml3kyli2caw3778wc1gyvfpc"; }; + # Make tests compatible with alcotest 1.4.0 + postPatch = '' + substituteInPlace test/test_channel.ml --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)' + ''; + propagatedBuildInputs = [ cstruct logs lwt mirage-flow ]; doCheck = true; |