ocamlPackages.pa_ounit: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 16:17:57 +00:00
parent 06cd948ba3
commit ea276e21cf
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

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