From 2367bf8bb488a774fc007950e6f5d91760ee99b5 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 30 Apr 2024 15:26:22 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.ppx=5Fcstruct:=20disable=20tests?= =?UTF-8?q?=20for=20OCaml=20=E2=89=A5=205.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/cstruct/ppx.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/cstruct/ppx.nix b/pkgs/development/ocaml-modules/cstruct/ppx.nix index 96814ebdc72a..1cae0cc3dea4 100644 --- a/pkgs/development/ocaml-modules/cstruct/ppx.nix +++ b/pkgs/development/ocaml-modules/cstruct/ppx.nix @@ -1,4 +1,4 @@ -{ lib, buildDunePackage, cstruct, sexplib, ppxlib +{ lib, buildDunePackage, ocaml, cstruct, sexplib, ppxlib , ocaml-migrate-parsetree-2 , ounit, cppo, ppx_sexp_conv, cstruct-unix, cstruct-sexp }: @@ -15,7 +15,7 @@ else propagatedBuildInputs = [ cstruct ppxlib sexplib ]; - doCheck = true; + doCheck = !lib.versionAtLeast ocaml.version "5.1"; nativeCheckInputs = [ cppo ]; checkInputs = [ ounit ppx_sexp_conv cstruct-sexp cstruct-unix ocaml-migrate-parsetree-2 ]; }