diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-08-10 01:15:13 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-08-29 08:10:02 +0200 |
commit | da766bde28a0b7a8acad094b5c6c187eb858c232 (patch) | |
tree | 73f1bf7adc5e9d3d4471271493437812cc9145bc /pkgs/development/ocaml-modules/odoc | |
parent | 567fc860a4289c4e23eb6929621a85bc4e25eac2 (diff) |
ocamlPackages.odoc: disable tests with yojson ≥ 2.0
Diffstat (limited to 'pkgs/development/ocaml-modules/odoc')
-rw-r--r-- | pkgs/development/ocaml-modules/odoc/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/odoc/default.nix b/pkgs/development/ocaml-modules/odoc/default.nix index 3e25ba37fd1a..7bd875e475ec 100644 --- a/pkgs/development/ocaml-modules/odoc/default.nix +++ b/pkgs/development/ocaml-modules/odoc/default.nix @@ -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 |