diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/odoc/default.nix')
-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 3e25ba37fd1..7bd875e475e 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 |