From 1d4048e952f533481de7e211a177ac2c6a56bda5 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 10 Oct 2023 07:46:48 +0200 Subject: [PATCH 1/2] ocamlPackages.pprint: disable for OCaml < 4.03 --- pkgs/development/ocaml-modules/pprint/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/pprint/default.nix b/pkgs/development/ocaml-modules/pprint/default.nix index 1ffb3e4e2d664..3a103ad41ae68 100644 --- a/pkgs/development/ocaml-modules/pprint/default.nix +++ b/pkgs/development/ocaml-modules/pprint/default.nix @@ -4,7 +4,7 @@ buildDunePackage rec { pname = "pprint"; version = "20230830"; - useDune2 = true; + minimalOCamlVersion = "4.03"; src = fetchFromGitHub { owner = "fpottier"; From 642a5f2a7b09039183236a3d66d885b1178ad1c7 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 10 Oct 2023 07:59:44 +0200 Subject: [PATCH 2/2] ocamlPackages.zelus-gtk: disable for OCaml < 4.10 --- pkgs/development/ocaml-modules/zelus-gtk/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/zelus-gtk/default.nix b/pkgs/development/ocaml-modules/zelus-gtk/default.nix index c0e0e586066af..759a625d26a2a 100644 --- a/pkgs/development/ocaml-modules/zelus-gtk/default.nix +++ b/pkgs/development/ocaml-modules/zelus-gtk/default.nix @@ -7,7 +7,7 @@ buildDunePackage { pname = "zelus-gtk"; inherit (zelus) version src postPatch; - minimalOCamlVersion = "4.08.1"; + minimalOCamlVersion = "4.10"; nativeBuildInputs = [ zelus