mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-02 02:27:33 +03:00
ocamlPackages.wasm: disable for OCaml ≥ 4.13
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user