about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/containers/data.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/containers/data.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix b/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix
index bdad78cdf6f6..98b6ec750640 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/containers/data.nix
@@ -1,16 +1,19 @@
 { buildDunePackage, containers
+, ocaml
 , dune-configurator
 , gen, iter, qcheck-core
+, mdx
 }:
 
 buildDunePackage {
   pname = "containers-data";
 
-  inherit (containers) src version doCheck;
+  inherit (containers) src version;
 
-  duneVersion = "3";
+  doCheck = containers.doCheck && ocaml.meta.branch != "5.0";
 
   buildInputs = [ dune-configurator ];
+  nativeCheckInputs = [ mdx.bin ];
   checkInputs = [ gen iter qcheck-core ];
 
   propagatedBuildInputs = [ containers ];