ocamlPackages.wasm: disable for OCaml ≥ 4.13

This commit is contained in:
Vincent Laporte
2022-03-04 16:09:07 +01:00
committed by Vincent Laporte
parent 315ed6fad0
commit 5bd7b7017b
@@ -1,6 +1,7 @@
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
if !lib.versionAtLeast ocaml.version "4.02"
|| lib.versionOlder "4.13" ocaml.version
then throw "wasm is not available for OCaml ${ocaml.version}"
else