about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-09-20 05:28:59 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2019-09-20 05:28:59 +0000
commit59a07abdb2ce466d37c745e3daa19649e35c2f86 (patch)
tree7e8cfda41bf5dc8a9c71db61f1a6a2ceb058673e /pkgs
parent011dd72d6a792e1992e3b1166bee7e59b598b260 (diff)
downloadnixlib-59a07abdb2ce466d37c745e3daa19649e35c2f86.tar
nixlib-59a07abdb2ce466d37c745e3daa19649e35c2f86.tar.gz
nixlib-59a07abdb2ce466d37c745e3daa19649e35c2f86.tar.bz2
nixlib-59a07abdb2ce466d37c745e3daa19649e35c2f86.tar.lz
nixlib-59a07abdb2ce466d37c745e3daa19649e35c2f86.tar.xz
nixlib-59a07abdb2ce466d37c745e3daa19649e35c2f86.tar.zst
nixlib-59a07abdb2ce466d37c745e3daa19649e35c2f86.zip
ocamlPackages.printbox: disable tests for OCaml ≥ 4.08
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/printbox/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/printbox/default.nix b/pkgs/development/ocaml-modules/printbox/default.nix
index b4b733ed7d84..50866e1d9691 100644
--- a/pkgs/development/ocaml-modules/printbox/default.nix
+++ b/pkgs/development/ocaml-modules/printbox/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, buildDunePackage, mdx }:
+{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx }:
 
 buildDunePackage rec {
   pname = "printbox";
@@ -13,14 +13,14 @@ buildDunePackage rec {
     sha256 = "16nwwpp13hzlcm9xqfxc558afm3i5s802dkj69l9s2vp04lgms5n";
   };
 
-  checkInputs = [ mdx ];
+  checkInputs = lib.optional doCheck mdx;
 
-  doCheck = true;
+  doCheck = !lib.versionAtLeast ocaml.version "4.08";
 
   meta = {
     homepage = https://github.com/c-cube/printbox/;
     description = "Allows to print nested boxes, lists, arrays, tables in several formats";
-    license = stdenv.lib.licenses.isc;
-    maintainers = [ stdenv.lib.maintainers.romildo ];
+    license = lib.licenses.isc;
+    maintainers = [ lib.maintainers.romildo ];
   };
 }