ocamlPackages.ocaml_http: disable on OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-05-09 15:56:27 +00:00
parent d0cfb273f0
commit 4a0c93f078
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,5 +1,9 @@
{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 {
name = "ocaml-http-0.1.5";