buildLuarocksPackage: extraVariables is now an attrset

This commit is contained in:
Matthieu Coudron
2020-02-26 01:09:31 +01:00
parent 7aee5b838b
commit 6eeb434b33
2 changed files with 13 additions and 10 deletions

View File

@@ -153,11 +153,11 @@ with super;
});
luadbi-mysql = super.luadbi-mysql.override({
extraVariables = ''
-- Can't just be /include and /lib, unfortunately needs the trailing 'mysql'
MYSQL_INCDIR='${pkgs.libmysqlclient}/include/mysql';
MYSQL_LIBDIR='${pkgs.libmysqlclient}/lib/mysql';
'';
extraVariables = {
# Can't just be /include and /lib, unfortunately needs the trailing 'mysql'
MYSQL_INCDIR="${pkgs.libmysqlclient}/include/mysql";
MYSQL_LIBDIR="${pkgs.libmysqlclient}/lib/mysql";
};
buildInputs = [
pkgs.mysql.client
pkgs.libmysqlclient