diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-07-06 21:50:44 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-07-09 08:23:04 +0200 |
commit | 07e185c5a8de73df62fa87f6210683e31c51c448 (patch) | |
tree | 46cb69145df34cea4b86001b95d4fb38d5a55515 /pkgs/development/ocaml-modules | |
parent | 53072cc0666112eebe9bc5d18dd46abb12f0dcbe (diff) | |
download | nixlib-07e185c5a8de73df62fa87f6210683e31c51c448.tar nixlib-07e185c5a8de73df62fa87f6210683e31c51c448.tar.gz nixlib-07e185c5a8de73df62fa87f6210683e31c51c448.tar.bz2 nixlib-07e185c5a8de73df62fa87f6210683e31c51c448.tar.lz nixlib-07e185c5a8de73df62fa87f6210683e31c51c448.tar.xz nixlib-07e185c5a8de73df62fa87f6210683e31c51c448.tar.zst nixlib-07e185c5a8de73df62fa87f6210683e31c51c448.zip |
ocamlPackages.mirage-block-ramdisk: fix tests with alcotest 1.4.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-block-ramdisk/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-block-ramdisk/default.nix b/pkgs/development/ocaml-modules/mirage-block-ramdisk/default.nix index 1dcc769abb67..7e8ebba73eb5 100644 --- a/pkgs/development/ocaml-modules/mirage-block-ramdisk/default.nix +++ b/pkgs/development/ocaml-modules/mirage-block-ramdisk/default.nix @@ -13,6 +13,11 @@ buildDunePackage rec { 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"; propagatedBuildInputs = [ io-page mirage-block ]; |