ocamlPackages.ocaml_data_notation: disable for OCaml ≥ 4.06
This commit is contained in:
parent
0c3cf014e2
commit
9590e46c05
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, ounit, camlp4 }:
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, ounit, camlp4 }:
|
||||||
|
|
||||||
|
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||||
|
then throw "ocaml-data-notation is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-data-notation-0.0.11";
|
name = "ocaml-data-notation-0.0.11";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user