diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-04-09 18:58:24 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-04-10 19:03:35 +0200 |
commit | 8e0d02c073c16ced011a569518b1d1c3d6647c22 (patch) | |
tree | 75697774a39723b0ee88451909fdd620653edcc6 /pkgs/development/ocaml-modules | |
parent | 7c15d4b15ff759831d848ac7c1af1e932cd65da8 (diff) | |
download | nixlib-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.nix | 4 |
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"; |