ocamlPackages.sexplib_p4: disable for OCaml ≥ 4.03
This commit is contained in:
parent
459f17a8d5
commit
41b3b2c077
@ -1,6 +1,8 @@
|
|||||||
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
|
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
|
||||||
|
|
||||||
assert stdenv.lib.versionOlder "3.12" ocaml.version;
|
if !stdenv.lib.versionAtLeast ocaml.version "3.12"
|
||||||
|
|| stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||||
|
then throw "sexlib-108.08.00 is not available for OCaml ${ocaml.version}" else
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-sexplib-108.08.00";
|
name = "ocaml-sexplib-108.08.00";
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
|
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
|
||||||
|
|
||||||
assert stdenv.lib.versionOlder "4.00" ocaml.version;
|
if !stdenv.lib.versionAtLeast ocaml.version "4.00"
|
||||||
|
|| stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||||
|
then throw "sexlib-111.25.00 is not available for OCaml ${ocaml.version}" else
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-sexplib-111.25.00";
|
name = "ocaml-sexplib-111.25.00";
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
{stdenv, buildOcaml, fetchurl, type_conv, camlp4}:
|
{ stdenv, buildOcaml, fetchurl, ocaml, type_conv, camlp4 }:
|
||||||
|
|
||||||
|
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||||
|
|| stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||||
|
then throw "sexlib-112.24.01 is not available for OCaml ${ocaml.version}" else
|
||||||
|
|
||||||
buildOcaml rec {
|
buildOcaml rec {
|
||||||
minimumSupportedOcamlVersion = "4.02";
|
minimumSupportedOcamlVersion = "4.02";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user