diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-11-06 06:10:43 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-11-13 05:06:51 +0100 |
commit | 7c77641bf675856e83bf292b0e2b72e6e8dc6f8d (patch) | |
tree | 28bdf738f8f6016d149d5349966a9280c4c7383f | |
parent | 6cd24b0187e9a3546c556c5a332aa92039da3567 (diff) |
ocamlPackages.gd4o: disable for OCaml ≥ 5.0
-rw-r--r-- | pkgs/development/ocaml-modules/gd4o/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/gd4o/default.nix b/pkgs/development/ocaml-modules/gd4o/default.nix index cd2069648566..f3206c2385a3 100644 --- a/pkgs/development/ocaml-modules/gd4o/default.nix +++ b/pkgs/development/ocaml-modules/gd4o/default.nix @@ -1,5 +1,8 @@ { lib, stdenv, fetchurl, ocaml, gd, freetype, findlib, zlib, libpng, libjpeg }: +lib.throwIf (lib.versionAtLeast ocaml.version "5.0") + "gd4o is not available for OCaml ${ocaml.version}" + stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-gd4o"; version = "1.0a5"; |