From 049ca38a0c84f7c41467b006712340fd52f00043 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 20 Sep 2021 18:14:32 +0200 Subject: ocamlPackages.containers: disable tests with OCaml < 4.08 --- pkgs/development/ocaml-modules/containers/data.nix | 3 +-- pkgs/development/ocaml-modules/containers/default.nix | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'pkgs/development/ocaml-modules') 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"; -- cgit 1.4.1