luaPackages.luadbi-mysql: Fix linking issue

This commit is contained in:
Alexei Robyn 2019-06-20 11:13:46 +10:00
parent 6675589d6d
commit 460217d022

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