git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.pgocaml: requires OCaml ≥ 4.00
commitba757e6a7661ba6286fe5a1bbd05918dde625994 authorVincent Laporte <Vincent.Laporte@gmail.com> dateMon 3 Jul 2017, 22:10 (9 years ago) parent2e2769f
1 file changed+5−1
pkgs/development/ocaml-modules/pgocaml/default.nix+5−1
pkgs/development/ocaml-modules/pgocaml/default.nix+5−1
@@ -1,4 +1,8 @@
1−{ stdenv, fetchurl, buildOcaml, calendar, csv, re }:
1+{ stdenv, fetchurl, buildOcaml, ocaml, calendar, csv, re }:
2+
3+if !stdenv.lib.versionAtLeast ocaml.version "4"
4+then throw "pgocaml is not available for OCaml ${ocaml.version}"
5+else
26
37buildOcaml {
48 name = "pgocaml";