diff options
-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"; |