luaPackages.luadbi: libmysql -> connector-c

+4 -3
+4 -3
pkgs/top-level/lua-packages.nix
··· 8 8 { fetchurl, fetchzip, stdenv, lua, callPackage, unzip, zziplib, pkgconfig, libtool 9 9 , pcre, oniguruma, gnulib, tre, glibc, sqlite, openssl, expat, cairo 10 10 , perl, gtk2, python, glib, gobjectIntrospection, libevent, zlib, autoreconfHook 11 - , libmysql, postgresql, cyrus_sasl 11 + , mysql, postgresql, cyrus_sasl 12 12 , fetchFromGitHub, libmpack, which 13 13 }: 14 14 ··· 210 210 }; 211 211 sourceRoot = "."; 212 212 213 - buildInputs = [ libmysql postgresql sqlite ]; 213 + buildInputs = [ mysql.connector-c postgresql sqlite ]; 214 214 215 215 preConfigure = '' 216 216 substituteInPlace Makefile --replace CC=gcc CC=cc ··· 220 220 ''; 221 221 222 222 NIX_CFLAGS_COMPILE = [ 223 - "-I${libmysql.dev}/include/mysql" 223 + "-I${mysql.connector-c}/include/mysql" 224 + "-L${mysql.connector-c}/lib/mysql" 224 225 "-I${postgresql}/include/server" 225 226 ]; 226 227