ocamlPackages.stdint: disable tests with OCaml < 4.08
This commit is contained in:
parent
049ca38a0c
commit
09f33fd8aa
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, fetchpatch, buildDunePackage, qcheck }:
|
{ lib, fetchurl, fetchpatch, buildDunePackage, ocaml, qcheck }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "stdint";
|
pname = "stdint";
|
||||||
|
@ -35,7 +35,7 @@ buildDunePackage rec {
|
||||||
'let pos_int = QCheck.int_range 0 maxi'
|
'let pos_int = QCheck.int_range 0 maxi'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [ qcheck ];
|
checkInputs = [ qcheck ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue