ocamlPackages.rresult: disable for OCaml < 4.07

This commit is contained in:
Vincent Laporte 2023-02-08 06:46:34 +01:00
parent d9b65903b4
commit 4c287d4196
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,5 +1,8 @@
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.07")
"rresult is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-rresult";
version = "0.7.0";