ocamlPackages.wasm: disable for OCaml ≥ 4.13

This commit is contained in:
Vincent Laporte 2021-10-14 19:17:36 +02:00 committed by Vincent Laporte
parent 315ed6fad0
commit 5bd7b7017b

View File

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