diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-10-31 06:31:51 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-11-07 04:50:31 +0100 |
commit | 2157c909d220c4a4314c3d4f872a405700a053b0 (patch) | |
tree | 33491756a5f6bff7c19c395cd2a507b55d7e0af5 /pkgs/development/tools/ocaml | |
parent | 573366e26755c0aaa711ed926c946a351b905a17 (diff) |
ocamlPackages.ocp-build: disable for OCaml ≥ 5.0
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/ocp-build/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/ocp-build/default.nix b/pkgs/development/tools/ocaml/ocp-build/default.nix index de26536eb1c5c..33f9a123b744b 100644 --- a/pkgs/development/tools/ocaml/ocp-build/default.nix +++ b/pkgs/development/tools/ocaml/ocp-build/default.nix @@ -1,5 +1,8 @@ { lib, stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, ncurses, cmdliner_1_0, re }: +lib.throwIf (lib.versionAtLeast ocaml.version "5.0") + "ocp-build is not available for OCaml ${ocaml.version}" + stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-ocp-build"; version = "1.99.21"; |