summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-10-31 06:31:58 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2023-11-07 04:50:31 +0100
commite1ccd228a129330ed3a4b7e2d2e3eb17247af7cc (patch)
tree0983bad3d398274b8196649e999f01de20b219a0
parent2157c909d220c4a4314c3d4f872a405700a053b0 (diff)
downloadnixpkgs-e1ccd228a129330ed3a4b7e2d2e3eb17247af7cc.tar
nixpkgs-e1ccd228a129330ed3a4b7e2d2e3eb17247af7cc.tar.gz
nixpkgs-e1ccd228a129330ed3a4b7e2d2e3eb17247af7cc.tar.bz2
nixpkgs-e1ccd228a129330ed3a4b7e2d2e3eb17247af7cc.tar.lz
nixpkgs-e1ccd228a129330ed3a4b7e2d2e3eb17247af7cc.tar.xz
nixpkgs-e1ccd228a129330ed3a4b7e2d2e3eb17247af7cc.tar.zst
nixpkgs-e1ccd228a129330ed3a4b7e2d2e3eb17247af7cc.zip
ocamlPackages.ocamlify: disable for OCaml ≥ 5.0
-rw-r--r--pkgs/development/tools/ocaml/ocamlify/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/ocamlify/default.nix b/pkgs/development/tools/ocaml/ocamlify/default.nix
index 0ac69f86c90..7dd6843d52f 100644
--- a/pkgs/development/tools/ocaml/ocamlify/default.nix
+++ b/pkgs/development/tools/ocaml/ocamlify/default.nix
@@ -1,5 +1,8 @@
 { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
 
+lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
+  "ocamlify is not available for OCaml ${ocaml.version}"
+
 stdenv.mkDerivation rec {
   pname = "ocamlify";
   version = "0.0.2";