diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-06-18 00:37:09 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-06-25 08:55:29 +0200 |
commit | 8263cd29177f2783a881c76856447100116438c6 (patch) | |
tree | 86db66383f2b0a5d0edf901d53e2eac9e6a80a80 /pkgs/development/ocaml-modules | |
parent | bce75f1d1a4fe9887cdfb3921fdef5ab1539abb1 (diff) | |
download | nixpkgs-8263cd29177f2783a881c76856447100116438c6.tar nixpkgs-8263cd29177f2783a881c76856447100116438c6.tar.gz nixpkgs-8263cd29177f2783a881c76856447100116438c6.tar.bz2 nixpkgs-8263cd29177f2783a881c76856447100116438c6.tar.lz nixpkgs-8263cd29177f2783a881c76856447100116438c6.tar.xz nixpkgs-8263cd29177f2783a881c76856447100116438c6.tar.zst nixpkgs-8263cd29177f2783a881c76856447100116438c6.zip |
ocaml-mysql: fix build with OCaml-4.02 (needs camlp4)
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/mysql/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/mysql/default.nix b/pkgs/development/ocaml-modules/mysql/default.nix index 4ffef60c4bf..fc26d8b989c 100644 --- a/pkgs/development/ocaml-modules/mysql/default.nix +++ b/pkgs/development/ocaml-modules/mysql/default.nix @@ -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; |