diff options
author | Robin Gloster <mail@glob.in> | 2017-07-09 17:43:03 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-12-29 02:18:35 +0100 |
commit | ee1c85aee9ebbfc76c6fed31a868e4082e4bad13 (patch) | |
tree | c5f1e90aa32da5c1502711f22845c8e22d1100c6 /pkgs/development/ocaml-modules | |
parent | 9265012de647750d64e40c07bcc5ee6ccc56da6d (diff) | |
download | nixlib-ee1c85aee9ebbfc76c6fed31a868e4082e4bad13.tar nixlib-ee1c85aee9ebbfc76c6fed31a868e4082e4bad13.tar.gz nixlib-ee1c85aee9ebbfc76c6fed31a868e4082e4bad13.tar.bz2 nixlib-ee1c85aee9ebbfc76c6fed31a868e4082e4bad13.tar.lz nixlib-ee1c85aee9ebbfc76c6fed31a868e4082e4bad13.tar.xz nixlib-ee1c85aee9ebbfc76c6fed31a868e4082e4bad13.tar.zst nixlib-ee1c85aee9ebbfc76c6fed31a868e4082e4bad13.zip |
mariadb: lib -> connector-c
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/mysql/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/mysql/default.nix b/pkgs/development/ocaml-modules/mysql/default.nix index 3fa8e9d46b40..5482d7ac87cd 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, fetchpatch, ocaml, findlib, mysql, openssl }: # TODO: la versione stabile da' un errore di compilazione dovuto a # qualche cambiamento negli header .h @@ -26,7 +26,14 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; - propagatedBuildInputs = [ mysql.client ]; + propagatedBuildInputs = [ mysql.connector-c ]; + + patches = [ + (fetchpatch { + url = "https://github.com/ygrek/ocaml-mysql/compare/v1.2.1...d6d1b3b262ae2cf493ef56f1dd7afcf663a70a26.patch"; + sha256 = "0018s2wcrvbsw9yaqmwq500qmikwffrgdp5xg9b8v7ixhd4gi6hn"; + }) + ]; meta = { homepage = http://ocaml-mysql.forge.ocamlcore.org; |