From a4f7e10e678b3e3d8da091a4c497ae210f2677eb Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Wed, 4 Jun 2025 23:45:45 -0400 Subject: [PATCH] ocamlPackages.mdx: fix Darwin build The unix set perm test fails on Darwin, so disable tests as I do not believe there is a way to disable specific tests in OCaml. Signed-off-by: Ethan Carter Edwards --- pkgs/development/ocaml-modules/mdx/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/mdx/default.nix b/pkgs/development/ocaml-modules/mdx/default.nix index 9d3e992557ef..75c0ac1e7a98 100644 --- a/pkgs/development/ocaml-modules/mdx/default.nix +++ b/pkgs/development/ocaml-modules/mdx/default.nix @@ -1,11 +1,13 @@ { lib, + stdenv, fetchurl, buildDunePackage, ocaml, findlib, alcotest, astring, + cmdliner, cppo, fmt, logs, @@ -34,6 +36,7 @@ buildDunePackage rec { fmt logs csexp + cmdliner ocaml-version camlp-streams re @@ -44,7 +47,7 @@ buildDunePackage rec { lwt ]; - doCheck = true; + doCheck = !stdenv.hostPlatform.isDarwin; outputs = [ "bin"