1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

ocamlPackages.batteries: disable tests with OCaml < 4.08

This commit is contained in:
Vincent Laporte 2021-09-20 18:14:27 +02:00 committed by Vincent Laporte
parent 801b070c40
commit 5f16f0a9cf

View file

@ -1,4 +1,6 @@
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, qtest, num }: { stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, qtest, num
, doCheck ? lib.versionAtLeast ocaml.version "4.08" && !stdenv.isAarch64
}:
let version = "3.3.0"; in let version = "3.3.0"; in
@ -14,7 +16,7 @@ stdenv.mkDerivation {
checkInputs = [ qtest ]; checkInputs = [ qtest ];
propagatedBuildInputs = [ num ]; propagatedBuildInputs = [ num ];
doCheck = lib.versionAtLeast ocaml.version "4.04" && !stdenv.isAarch64; inherit doCheck;
checkTarget = "test"; checkTarget = "test";
createFindlibDestdir = true; createFindlibDestdir = true;