3
0
Fork 0
forked from mirrors/nixpkgs

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";