Merge #63547: luaPackages.luadbi-mysql: Fix linking issue

Fixes the prosody test, and it seems very unlikely to break anything.
This commit is contained in:
Vladimír Čunát 2019-06-20 08:55:04 +02:00
commit e48b747d2f
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -137,8 +137,9 @@ with super;
luadbi-mysql = super.luadbi-mysql.override({
extraVariables = ''
-- Can't just be /include, unfortunately
-- Can't just be /include and /lib, unfortunately needs the trailing 'mysql'
MYSQL_INCDIR='${pkgs.mysql.connector-c}/include/mysql';
MYSQL_LIBDIR='${pkgs.mysql.connector-c}/lib/mysql';
'';
buildInputs = [
pkgs.mysql.client