ocamlPackages.wasm: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-06-02 10:07:11 +02:00 committed by Vincent Laporte
parent e917f41792
commit 7b77c9ed63

View File

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