ocamlPackages.twt: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-06-02 10:07:03 +02:00 committed by Vincent Laporte
parent 62c789ff6f
commit 0788043a77

View file

@ -1,5 +1,8 @@
{ lib, stdenv, fetchFromGitHub, ocaml, findlib }:
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"twt is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-twt";
version = "0.94.0";