ocamlPackages.wasm: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte
2023-06-08 13:45:04 +02:00
committed by Vincent Laporte
parent e917f41792
commit 7b77c9ed63
@@ -1,6 +1,7 @@
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
if lib.versionOlder ocaml.version "4.08"
|| lib.versionAtLeast ocaml.version "5.0"
then throw "wasm is not available for OCaml ${ocaml.version}"
else