forked from mirrors/nixpkgs
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 }:
|
||||
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||
then throw "ojquery is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.1";
|
||||
name = "ocaml-ojquery-${version}";
|
||||
|
|
Loading…
Reference in a new issue