ocamlPackages.piqi: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-10-30 06:47:17 +01:00 committed by Vincent Laporte
parent 92f35b4a88
commit ab0a9324bf

View file

@ -1,5 +1,8 @@
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, which, sedlex, easy-format, xmlm, base64 }: { lib, stdenv, fetchFromGitHub, ocaml, findlib, which, sedlex, easy-format, xmlm, base64 }:
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"piqi is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.6.16"; version = "0.6.16";
pname = "piqi"; pname = "piqi";