ocamlPackages.ocaml_http: disable on OCaml ≥ 4.06
This commit is contained in:
parent
d0cfb273f0
commit
4a0c93f078
@ -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";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user