ocamlPackages.wasm: disable for OCaml ≥ 4.08

This commit is contained in:
Vincent Laporte 2020-03-08 16:59:01 +01:00 committed by Vincent Laporte
parent 4ada24a02c
commit bab3588e4e
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|| stdenv.lib.versionAtLeast ocaml.version "4.08"
then throw "wasm is not available for OCaml ${ocaml.version}"
else