ocamlPackages.ocp-build: disable for OCaml ≥ 5.0
This commit is contained in:
parent
573366e267
commit
2157c909d2
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
{ 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";
|
||||
|
|
Loading…
Reference in a new issue