ocamlPackages.pgocaml: requires OCaml ≥ 4.00
This commit is contained in:
parent
2e2769f96c
commit
ba757e6a76
@ -1,4 +1,8 @@
|
|||||||
{ stdenv, fetchurl, buildOcaml, calendar, csv, re }:
|
{ stdenv, fetchurl, buildOcaml, ocaml, calendar, csv, re }:
|
||||||
|
|
||||||
|
if !stdenv.lib.versionAtLeast ocaml.version "4"
|
||||||
|
then throw "pgocaml is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
buildOcaml {
|
buildOcaml {
|
||||||
name = "pgocaml";
|
name = "pgocaml";
|
||||||
|
Loading…
Reference in New Issue
Block a user