ocamlPackages.pa_ounit: disable for OCaml ≥ 4.06
This commit is contained in:
parent
06cd948ba3
commit
ea276e21cf
@ -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 {
|
buildOcaml rec {
|
||||||
name = "pa_ounit";
|
name = "pa_ounit";
|
||||||
|
Loading…
Reference in New Issue
Block a user