ocaml-mysql: fix build with OCaml-4.02 (needs camlp4)
This commit is contained in:
parent
bce75f1d1a
commit
8263cd2917
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue