diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-06-12 08:48:16 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-06-12 09:22:51 +0200 |
commit | a70967020f7a6d0584aa8058526d8a5cbf91cf87 (patch) | |
tree | 64870764ecec9f4e9105e22f7d8aabddca68ff06 /pkgs/development/ocaml-modules | |
parent | 75b5f4b106e04e47611d7309d0e7531d5c07840a (diff) | |
download | nixlib-a70967020f7a6d0584aa8058526d8a5cbf91cf87.tar nixlib-a70967020f7a6d0584aa8058526d8a5cbf91cf87.tar.gz nixlib-a70967020f7a6d0584aa8058526d8a5cbf91cf87.tar.bz2 nixlib-a70967020f7a6d0584aa8058526d8a5cbf91cf87.tar.lz nixlib-a70967020f7a6d0584aa8058526d8a5cbf91cf87.tar.xz nixlib-a70967020f7a6d0584aa8058526d8a5cbf91cf87.tar.zst nixlib-a70967020f7a6d0584aa8058526d8a5cbf91cf87.zip |
ocamlPackages.bz2: disable for OCaml ≥ 5.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/bz2/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 |