ocamlPackages.ojquery: disable for OCaml ≥ 4.06
This commit is contained in:
parent
3fb8dac658
commit
0c3cf014e2
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, js_of_ocaml, js_of_ocaml-camlp4, camlp4, lwt3, react }:
|
{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, js_of_ocaml, js_of_ocaml-camlp4, camlp4, lwt3, react }:
|
||||||
|
|
||||||
|
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||||
|
then throw "ojquery is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.1";
|
version = "0.1";
|
||||||
name = "ocaml-ojquery-${version}";
|
name = "ocaml-ojquery-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user