ocamlPackages.odoc: disable tests with yojson ≥ 2.0

This commit is contained in:
Vincent Laporte 2022-08-10 01:15:13 +02:00 committed by Vincent Laporte
parent 567fc860a4
commit da766bde28

View File

@ -19,7 +19,8 @@ buildDunePackage rec {
buildInputs = [ astring cmdliner cppo fpath result tyxml odoc-parser fmt ];
checkInputs = [ markup yojson sexplib0 jq ppx_expect bash ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
doCheck = lib.versionAtLeast ocaml.version "4.08"
&& lib.versionOlder yojson.version "2.0";
preCheck = ''
# some run.t files check the content of patchShebangs-ed scripts, so patch