3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ojquery: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 18:11:23 +00:00
parent 3fb8dac658
commit 0c3cf014e2
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -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}";