mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
ocamlPackages.rresult: disable for OCaml < 4.07
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user