ocamlPackages.mirage-block-ramdisk: fix tests with alcotest 1.4.0
This commit is contained in:
parent
53072cc066
commit
07e185c5a8
|
@ -13,6 +13,11 @@ buildDunePackage rec {
|
||||||
sha256 = "cc0e814fd54efe7a5b7a8c5eb1c04e2dece751b7d8dee2d95908a0768896e8af";
|
sha256 = "cc0e814fd54efe7a5b7a8c5eb1c04e2dece751b7d8dee2d95908a0768896e8af";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Make tests compatible with alcotest 1.4.0
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace test/tests.ml --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
|
||||||
|
'';
|
||||||
|
|
||||||
minimumOCamlVersion = "4.06";
|
minimumOCamlVersion = "4.06";
|
||||||
|
|
||||||
propagatedBuildInputs = [ io-page mirage-block ];
|
propagatedBuildInputs = [ io-page mirage-block ];
|
||||||
|
|
Loading…
Reference in a new issue