diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-03-28 18:25:11 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-03-28 21:01:41 +0200 |
commit | 9211608da78fc354236de1e981577d7ac4a43afe (patch) | |
tree | e78ff04052baeb07cddc3d97a848324bb5634f63 /pkgs | |
parent | 3d7f865ddbcd01b16fc2dc6081ef84ff25b9bd50 (diff) | |
download | nixlib-9211608da78fc354236de1e981577d7ac4a43afe.tar nixlib-9211608da78fc354236de1e981577d7ac4a43afe.tar.gz nixlib-9211608da78fc354236de1e981577d7ac4a43afe.tar.bz2 nixlib-9211608da78fc354236de1e981577d7ac4a43afe.tar.lz nixlib-9211608da78fc354236de1e981577d7ac4a43afe.tar.xz nixlib-9211608da78fc354236de1e981577d7ac4a43afe.tar.zst nixlib-9211608da78fc354236de1e981577d7ac4a43afe.zip |
ocamlPackages.wasm: disable with OCaml 4.02
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/wasm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/wasm/default.nix b/pkgs/development/ocaml-modules/wasm/default.nix index 6b0008912906..ffe8479b67e9 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 |