about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2021-09-20 18:14:39 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2021-09-27 05:59:07 +0200
commit6f85b0fa7b3b190152acb168ec2624697621891b (patch)
treeb56c5815d71608996e1e3721859b92d71b0dc4b6 /pkgs/development/ocaml-modules
parent09f33fd8aa06f5b5522cb50b309ee548fc3df4fe (diff)
ocamlPackages.syslog-message: disable tests with OCaml < 4.08
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/syslog-message/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/syslog-message/default.nix b/pkgs/development/ocaml-modules/syslog-message/default.nix
index ba967d87446b8..2c12415cdbb2e 100644
--- a/pkgs/development/ocaml-modules/syslog-message/default.nix
+++ b/pkgs/development/ocaml-modules/syslog-message/default.nix
@@ -1,4 +1,5 @@
 { lib, buildDunePackage, fetchurl
+, ocaml
 , astring, ptime, rresult, qcheck
 }:
 
@@ -21,7 +22,7 @@ buildDunePackage rec {
     rresult
   ];
 
-  doCheck = true;
+  doCheck = lib.versionAtLeast ocaml.version "4.08";
   checkInputs = [
     qcheck
   ];