mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
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;
|
||||
|
||||
# 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…
Reference in New Issue
Block a user