ocamlPackages.ocaml_http: disable on OCaml ≥ 4.06
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
{stdenv, fetchurl, ocaml_pcre, ocamlnet, ocaml, findlib, camlp4}:
|
{stdenv, fetchurl, ocaml_pcre, ocamlnet, ocaml, findlib, camlp4}:
|
||||||
|
|
||||||
|
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||||
|
then throw "ocaml-http is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-http-0.1.5";
|
name = "ocaml-http-0.1.5";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user