3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.wasm: disable with OCaml 4.02

This commit is contained in:
Vincent Laporte 2022-03-28 18:25:11 +02:00 committed by Vincent Laporte
parent 3d7f865ddb
commit 9211608da7

View file

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