From 9211608da78fc354236de1e981577d7ac4a43afe Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 28 Mar 2022 18:25:11 +0200 Subject: [PATCH] ocamlPackages.wasm: disable with OCaml 4.02 --- pkgs/development/ocaml-modules/wasm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/wasm/default.nix b/pkgs/development/ocaml-modules/wasm/default.nix index 6b000891290..ffe8479b67e 100644 --- a/pkgs/development/ocaml-modules/wasm/default.nix +++ b/pkgs/development/ocaml-modules/wasm/default.nix @@ -1,6 +1,6 @@ { 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 then throw "wasm is not available for OCaml ${ocaml.version}" else