Commit 2157c909 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.ocp-build: disable for OCaml ≥ 5.0

parent 573366e2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, ncurses, cmdliner_1_0, re }:

lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
  "ocp-build is not available for OCaml ${ocaml.version}"

stdenv.mkDerivation rec {
  pname = "ocaml${ocaml.version}-ocp-build";
  version = "1.99.21";