From a70967020f7a6d0584aa8058526d8a5cbf91cf87 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 12 Jun 2023 08:48:16 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.bz2:=20disable=20for=20OCaml=20?= =?UTF-8?q?=E2=89=A5=205.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/bz2/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/ocaml-modules/bz2/default.nix b/pkgs/development/ocaml-modules/bz2/default.nix index 835570dc9ab6..7e5f256a1a74 100644 --- a/pkgs/development/ocaml-modules/bz2/default.nix +++ b/pkgs/development/ocaml-modules/bz2/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, fetchFromGitLab, ocaml, findlib, bzip2, autoreconfHook }: if lib.versionOlder ocaml.version "4.02" +|| lib.versionAtLeast ocaml.version "5.0" then throw "bz2 is not available for OCaml ${ocaml.version}" else