diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/mirage-channel/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/mirage-channel/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/mirage-channel/default.nix b/nixpkgs/pkgs/development/ocaml-modules/mirage-channel/default.nix index 5b639e6fdd6e..227e821e1924 100644 --- a/nixpkgs/pkgs/development/ocaml-modules/mirage-channel/default.nix +++ b/nixpkgs/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; |