ocamlPackages.estring: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-07-23 06:22:46 +00:00
parent 5a2ee49f3c
commit f2ae2c9b8f
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,4 +1,8 @@
{ stdenv, buildOcaml, fetchurl }:
{ stdenv, buildOcaml, ocaml, fetchurl }:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "estring is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
name = "estring";