Skip to content

Commit e082162

Browse files
committedJun 26, 2017
ocamlPackages.type_conv-{108,109}: disable for OCaml ≥ 4.03
1 parent 41b3b2c commit e082162

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎pkgs/development/ocaml-modules/type_conv/108.08.00.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{stdenv, fetchurl, ocaml, findlib, camlp4}:
22

3-
assert stdenv.lib.versionOlder "3.12" ocaml.version;
3+
if !stdenv.lib.versionAtLeast ocaml.version "3.12"
4+
|| stdenv.lib.versionAtLeast ocaml.version "4.03"
5+
then throw "type_conv-108.08.00 is not available for OCaml ${ocaml.version}" else
46

57
stdenv.mkDerivation {
68
name = "ocaml-type_conv-108.08.00";

‎pkgs/development/ocaml-modules/type_conv/109.60.01.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{stdenv, fetchurl, ocaml, findlib, camlp4}:
22

3-
assert stdenv.lib.versionOlder "4.00" ocaml.version;
3+
if !stdenv.lib.versionAtLeast ocaml.version "4.00"
4+
|| stdenv.lib.versionAtLeast ocaml.version "4.03"
5+
then throw "type_conv-109.60.01 is not available for OCaml ${ocaml.version}" else
46

57
stdenv.mkDerivation {
68
name = "ocaml-type_conv-109.60.01";

0 commit comments

Comments
 (0)