3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ocf: disable for OCaml ≥ 4.08

This commit is contained in:
Vincent Laporte 2020-03-08 16:59:04 +01:00 committed by Vincent Laporte
parent bab3588e4e
commit 4ce4db473c

View file

@ -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 {