From 5a5a87cd002ab6875789f48a2ee697bc3b237f95 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 6 Sep 2019 16:01:51 +0000 Subject: [PATCH] ocamlPackages.mtime: disable jsoo support for OCaml < 4.03 --- pkgs/development/ocaml-modules/mtime/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/mtime/default.nix b/pkgs/development/ocaml-modules/mtime/default.nix index f4e3586b43c1..f86909cc10b5 100644 --- a/pkgs/development/ocaml-modules/mtime/default.nix +++ b/pkgs/development/ocaml-modules/mtime/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, js_of_ocaml -, jsooSupport ? true +, jsooSupport ? lib.versionAtLeast ocaml.version "4.03" }: with lib;