ocamlPackages.containers: disable tests with OCaml < 4.08

This commit is contained in:
Vincent Laporte 2021-09-20 18:14:32 +02:00 committed by Vincent Laporte
parent 5f16f0a9cf
commit 049ca38a0c
2 changed files with 2 additions and 3 deletions

View file

@ -6,10 +6,9 @@
buildDunePackage {
pname = "containers-data";
inherit (containers) src version useDune2;
inherit (containers) src version doCheck useDune2;
buildInputs = [ dune-configurator ];
doCheck = true;
checkInputs = [ gen iter qcheck ];
propagatedBuildInputs = [ containers ];

View file

@ -22,7 +22,7 @@ buildDunePackage rec {
checkInputs = [ gen iter ounit qcheck uutf ];
doCheck = true;
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = {
homepage = "https://github.com/c-cube/ocaml-containers";