From 7b77c9ed6375fa070e5db921442098ed45d8ae3d Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 2 Jun 2023 10:07:11 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.wasm:=20disable=20for=20OCaml=20?= =?UTF-8?q?=E2=89=A5=205.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/wasm/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/ocaml-modules/wasm/default.nix b/pkgs/development/ocaml-modules/wasm/default.nix index 3af1bd00a19b..18d3d7795ac9 100644 --- a/pkgs/development/ocaml-modules/wasm/default.nix +++ b/pkgs/development/ocaml-modules/wasm/default.nix @@ -1,6 +1,7 @@ { stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }: if lib.versionOlder ocaml.version "4.08" +|| lib.versionAtLeast ocaml.version "5.0" then throw "wasm is not available for OCaml ${ocaml.version}" else