ocamlPackages.ocamlmod: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-04-21 09:47:16 +02:00
parent faaa461aa8
commit 34122f7321
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -5,6 +5,9 @@ let
doCheck = lib.versionAtLeast ocaml.version "4.04";
in
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"ocamlmod is not available for OCaml 5.0"
stdenv.mkDerivation {
pname = "ocamlmod";
version = "0.0.9";