ocamlPackages.stdint: disable tests with OCaml < 4.08

This commit is contained in:
Vincent Laporte 2021-09-20 18:14:35 +02:00 committed by Vincent Laporte
parent 049ca38a0c
commit 09f33fd8aa

View file

@ -1,4 +1,4 @@
{ lib, fetchurl, fetchpatch, buildDunePackage, qcheck }:
{ lib, fetchurl, fetchpatch, buildDunePackage, ocaml, qcheck }:
buildDunePackage rec {
pname = "stdint";
@ -35,7 +35,7 @@ buildDunePackage rec {
'let pos_int = QCheck.int_range 0 maxi'
'';
doCheck = true;
doCheck = lib.versionAtLeast ocaml.version "4.08";
checkInputs = [ qcheck ];
meta = {