about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-04-09 18:58:24 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2020-04-10 19:03:35 +0200
commit8e0d02c073c16ced011a569518b1d1c3d6647c22 (patch)
tree75697774a39723b0ee88451909fdd620653edcc6 /pkgs/development/ocaml-modules
parent7c15d4b15ff759831d848ac7c1af1e932cd65da8 (diff)
downloadnixlib-8e0d02c073c16ced011a569518b1d1c3d6647c22.tar
nixlib-8e0d02c073c16ced011a569518b1d1c3d6647c22.tar.gz
nixlib-8e0d02c073c16ced011a569518b1d1c3d6647c22.tar.bz2
nixlib-8e0d02c073c16ced011a569518b1d1c3d6647c22.tar.lz
nixlib-8e0d02c073c16ced011a569518b1d1c3d6647c22.tar.xz
nixlib-8e0d02c073c16ced011a569518b1d1c3d6647c22.tar.zst
nixlib-8e0d02c073c16ced011a569518b1d1c3d6647c22.zip
ocamlPackages.ppx_blob: disable tests for OCaml < 4.03
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/ppx_blob/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_blob/default.nix b/pkgs/development/ocaml-modules/ppx_blob/default.nix
index cc106b70f42e..d7d662e74a5e 100644
--- a/pkgs/development/ocaml-modules/ppx_blob/default.nix
+++ b/pkgs/development/ocaml-modules/ppx_blob/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchurl, buildDunePackage, alcotest, ocaml-migrate-parsetree }:
+{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ocaml-migrate-parsetree }:
 
 buildDunePackage rec {
   pname = "ppx_blob";
@@ -11,7 +11,7 @@ buildDunePackage rec {
 
   checkInputs = lib.optional doCheck alcotest;
   buildInputs = [ ocaml-migrate-parsetree ];
-  doCheck = true;
+  doCheck = lib.versionAtLeast ocaml.version "4.03";
 
   meta = with lib; {
     homepage = "https://github.com/johnwhitington/ppx_blob";