diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-09-20 18:14:32 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-09-27 05:59:07 +0200 |
commit | 049ca38a0c84f7c41467b006712340fd52f00043 (patch) | |
tree | 242a2059319eeb9b34e78e03f62b5b54357f8a71 /pkgs/development | |
parent | 5f16f0a9cf2b5b5249382e19b8e2206dbfb9fd12 (diff) |
ocamlPackages.containers: disable tests with OCaml < 4.08
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/containers/data.nix | 3 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/containers/default.nix | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/containers/data.nix b/pkgs/development/ocaml-modules/containers/data.nix index 3694a7b2941b0..29d7bbb26b05d 100644 --- a/pkgs/development/ocaml-modules/containers/data.nix +++ b/pkgs/development/ocaml-modules/containers/data.nix @@ -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 ]; diff --git a/pkgs/development/ocaml-modules/containers/default.nix b/pkgs/development/ocaml-modules/containers/default.nix index b0df52061520f..de6c8076ceda2 100644 --- a/pkgs/development/ocaml-modules/containers/default.nix +++ b/pkgs/development/ocaml-modules/containers/default.nix @@ -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"; |