From 460217d0221af7e8d08e31feb5c5ff5b45e922f1 Mon Sep 17 00:00:00 2001 From: Alexei Robyn Date: Thu, 20 Jun 2019 11:13:46 +1000 Subject: [PATCH] luaPackages.luadbi-mysql: Fix linking issue --- pkgs/development/lua-modules/overrides.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/lua-modules/overrides.nix b/pkgs/development/lua-modules/overrides.nix index 9f03b84588ec..1967668b1a75 100644 --- a/pkgs/development/lua-modules/overrides.nix +++ b/pkgs/development/lua-modules/overrides.nix @@ -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