ocaml-mysql: fix build with OCaml-4.02 (needs camlp4)

This commit is contained in:
Vincent Laporte 2015-06-18 00:37:09 +02:00
parent bce75f1d1a
commit 8263cd2917

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, mysql}:
{ stdenv, fetchurl, ocaml, findlib, mysql, camlp4 }:
# TODO: la versione stabile da' un errore di compilazione dovuto a
# qualche cambiamento negli header .h
@ -23,7 +23,7 @@ stdenv.mkDerivation {
"--libdir=$out/lib/ocaml/${ocaml_version}/site-lib/mysql"
];
buildInputs = [ocaml findlib mysql.lib ];
buildInputs = [ocaml findlib mysql.lib camlp4 ];
createFindlibDestdir = true;