ocamlPackages.ocaml_libvirt: disable for OCaml ≤ 4.02

This commit is contained in:
Vincent Laporte 2022-03-17 09:23:28 +01:00 committed by Vincent Laporte
parent 3cc1ef775d
commit d04990eee6

@ -1,5 +1,8 @@
{ lib, stdenv, fetchFromGitLab, libvirt, autoreconfHook, pkg-config, ocaml, findlib, perl }:
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.02")
"libvirt is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec {
pname = "ocaml-libvirt";
version = "0.6.1.5";