From 3cae63521d93eb2fb0aba28218ca9b00150ffdc1 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 27 Sep 2024 07:57:01 +0200 Subject: [PATCH] ocamlPackages.cfstream: disable for OCaml < 4.08 --- pkgs/development/ocaml-modules/cfstream/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/cfstream/default.nix b/pkgs/development/ocaml-modules/cfstream/default.nix index 204128adec22..e5de1b648534 100644 --- a/pkgs/development/ocaml-modules/cfstream/default.nix +++ b/pkgs/development/ocaml-modules/cfstream/default.nix @@ -1,10 +1,10 @@ -{ lib, buildDunePackage, fetchFromGitHub, ocaml, m4, camlp-streams, core_kernel, ounit }: +{ lib, buildDunePackage, fetchFromGitHub, m4, camlp-streams, core_kernel, ounit }: buildDunePackage rec { pname = "cfstream"; version = "1.3.2"; - minimalOCamlVersion = "4.07"; + minimalOCamlVersion = "4.08"; src = fetchFromGitHub { owner = "biocaml"; @@ -15,13 +15,11 @@ buildDunePackage rec { patches = [ ./git_commit.patch ./janestreet-0.17.patch ]; - strictDeps = true; - nativeBuildInputs = [ m4 ]; checkInputs = [ ounit ]; propagatedBuildInputs = [ camlp-streams core_kernel ]; - doCheck = lib.versionAtLeast ocaml.version "4.08"; + doCheck = true; meta = with lib; { inherit (src.meta) homepage;