eliom 5.0 is only available with a ppx-enabled ocaml

This commit is contained in:
Florent Becker 2016-05-30 18:18:09 +02:00 committed by Florent Becker
parent abfe632ce2
commit 33a5a132e5

View File

@ -4908,7 +4908,10 @@ in
eff = callPackage ../development/interpreters/eff { };
eliom = callPackage ../development/ocaml-modules/eliom { };
eliom =
if lib.versionAtLeast ocaml_version "4.02"
then callPackage ../development/ocaml-modules/eliom { }
else null;
enumerate = callPackage ../development/ocaml-modules/enumerate { };