ocamlPackages.ppx_deriving: disable test with OCaml ≥ 5.0
This commit is contained in:
parent
bfdedc362f
commit
730e057313
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
|
, ocaml
|
||||||
, cppo
|
, cppo
|
||||||
, ppxlib
|
, ppxlib
|
||||||
, ppx_derivers
|
, ppx_derivers
|
||||||
|
@ -51,7 +52,7 @@ buildDunePackage rec {
|
||||||
result
|
result
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionOlder ocaml.version "5.0";
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
(if lib.versionAtLeast version "5.2" then ounit2 else ounit)
|
(if lib.versionAtLeast version "5.2" then ounit2 else ounit)
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue