ocamlPackages.rresult: disable for OCaml < 4.07
This commit is contained in:
parent
d9b65903b4
commit
4c287d4196
|
@ -1,5 +1,8 @@
|
||||||
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
|
{ 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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ocaml${ocaml.version}-rresult";
|
pname = "ocaml${ocaml.version}-rresult";
|
||||||
version = "0.7.0";
|
version = "0.7.0";
|
||||||
|
|
Loading…
Reference in a new issue