From 0c83113a64bc7e94085b5899b5e8285f05830fd4 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 8 Dec 2024 21:11:19 +0100 Subject: [PATCH] ocamlPackages.melange: disable checks & disable for OCaml 5.0 (cherry picked from commit 2c8e6aef5b03d96266356e2a77fed6414452c797) --- pkgs/development/tools/ocaml/melange/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/ocaml/melange/default.nix b/pkgs/development/tools/ocaml/melange/default.nix index c81ca2a6cf567..98f503d2e13ea 100644 --- a/pkgs/development/tools/ocaml/melange/default.nix +++ b/pkgs/development/tools/ocaml/melange/default.nix @@ -31,6 +31,8 @@ let version = "4.0.0-51"; hash = "sha256-940Yzp1ZXnN6mKVWY+nqKjn4qtBUJR5eHE55OTjGvdU="; } + else if lib.versionAtLeast ocaml.version "5.0" then + throw "melange is not available for OCaml ${ocaml.version}" else { version = "4.0.0-414"; @@ -57,7 +59,7 @@ buildDunePackage { menhirLib ppxlib ]; - doCheck = true; + doCheck = false; nativeCheckInputs = [ jq merlin