summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-3/default.nix
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2019-08-17 21:24:29 +0300
committerIzorkin <izorkin@elven.pw>2019-09-09 15:55:34 +0300
commit329a88efa78126ae7413807ce58000eab49e82d9 (patch)
tree432995643b4784e5eefdd253ace54a2566eebd7c /pkgs/development/libraries/qt-3/default.nix
parentcfb909229dd4c82441ddbf6d904def2057b62678 (diff)
downloadnixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar
nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.gz
nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.bz2
nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.lz
nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.xz
nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.zst
nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.zip
treewide: replace mysql.connector-c to libmysqlclient
Diffstat (limited to 'pkgs/development/libraries/qt-3/default.nix')
-rw-r--r--pkgs/development/libraries/qt-3/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qt-3/default.nix b/pkgs/development/libraries/qt-3/default.nix
index 3b3f406485c..a46dcec0312 100644
--- a/pkgs/development/libraries/qt-3/default.nix
+++ b/pkgs/development/libraries/qt-3/default.nix
@@ -5,7 +5,7 @@
 , xineramaSupport ? true, libXinerama ? null
 , cursorSupport ? true, libXcursor ? null
 , threadSupport ? true
-, mysqlSupport ? false, mysql ? null
+, mysqlSupport ? false, libmysqlclient ? null
 , libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
 , openglSupport ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
 , libGLU_combined ? null, libXmu ? null
@@ -16,7 +16,7 @@ assert xftSupport -> libXft != null;
 assert xrenderSupport -> xftSupport && libXrender != null;
 assert xrandrSupport -> libXrandr != null;
 assert cursorSupport -> libXcursor != null;
-assert mysqlSupport -> mysql != null;
+assert mysqlSupport -> libmysqlclient != null;
 assert openglSupport -> libGLU_combined != null && libXmu != null;
 
 stdenv.mkDerivation {
@@ -62,7 +62,7 @@ stdenv.mkDerivation {
   ] ++ stdenv.lib.optionals cursorSupport [
     "-L${libXcursor.out}/lib -I${libXcursor.dev}/include"
   ] ++ stdenv.lib.optionals mysqlSupport [
-    "-qt-sql-mysql" "-L${mysql.connector-c}/lib/mysql" "-I${mysql.connector-c}/include/mysql"
+    "-qt-sql-mysql" "-L${libmysqlclient}/lib/mysql" "-I${libmysqlclient}/include/mysql"
   ] ++ stdenv.lib.optionals xftSupport [
     "-L${libXft.out}/lib" "-I${libXft.dev}/include"
     "-L${libXft.freetype.out}/lib" "-I${libXft.freetype.dev}/include"