diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-05-12 23:09:22 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-05-15 10:10:36 +0200 |
commit | c81792a4571d5a6ba7a7f3d84cbc0e5dc5f16335 (patch) | |
tree | 12eb32d195c402ab0e770bbb7ee9934acd093b92 /pkgs/development/tools/ocaml | |
parent | bc9afd16865cddb0f2f2be9f65741626779687f1 (diff) |
ocamlPackages.ounit2: disable for OCaml < 4.08
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/ocamlmod/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/ocamlmod/default.nix b/pkgs/development/tools/ocaml/ocamlmod/default.nix index ee287a92388f7..c9e57fa6a09c0 100644 --- a/pkgs/development/tools/ocaml/ocamlmod/default.nix +++ b/pkgs/development/tools/ocaml/ocamlmod/default.nix @@ -1,8 +1,8 @@ { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }: let - # ounit is only available for OCaml >= 4.04 - doCheck = lib.versionAtLeast ocaml.version "4.04"; + # ounit is only available for OCaml >= 4.08 + doCheck = lib.versionAtLeast ocaml.version "4.08"; in lib.throwIf (lib.versionAtLeast ocaml.version "5.0") |