ocamlPackages.bz2: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-06-12 08:48:16 +02:00
parent 75b5f4b106
commit a70967020f
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -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