ocamlPackages.ocf: disable for OCaml ≥ 4.08

This commit is contained in:
Vincent Laporte
2020-03-13 22:31:01 +01:00
committed by Vincent Laporte
parent bab3588e4e
commit 4ce4db473c
@@ -1,6 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, ppx_tools, yojson }:
if stdenv.lib.versionOlder ocaml.version "4.03"
|| stdenv.lib.versionAtLeast ocaml.version "4.08"
then throw "ocf not supported for ocaml ${ocaml.version}"
else
stdenv.mkDerivation rec {