ocamlPackages.ocp-build: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-10-31 06:31:51 +01:00 committed by Vincent Laporte
parent 573366e267
commit 2157c909d2

View File

@ -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";