summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-4.x
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-4.x
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-4.x')
-rw-r--r--pkgs/development/libraries/qt-4.x/4.8/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qt-4.x/4.8/default.nix b/pkgs/development/libraries/qt-4.x/4.8/default.nix
index b5a10e8f11a..7c7f8f51de7 100644
--- a/pkgs/development/libraries/qt-4.x/4.8/default.nix
+++ b/pkgs/development/libraries/qt-4.x/4.8/default.nix
@@ -2,7 +2,7 @@
 , libXrender, libXinerama, libXcursor, libXv, libXext
 , libXfixes, libXrandr, libSM, freetype, fontconfig, zlib, libjpeg, libpng
 , libmng, which, libGLU, openssl, dbus, cups, pkgconfig
-, libtiff, glib, icu, mysql, postgresql, sqlite, perl, coreutils, libXi
+, libtiff, glib, icu, libmysqlclient, postgresql, sqlite, perl, coreutils, libXi
 , buildMultimedia ? stdenv.isLinux, alsaLib, gstreamer, gst-plugins-base
 , buildWebkit ? (stdenv.isLinux || stdenv.isDarwin)
 , libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
@@ -166,7 +166,7 @@ stdenv.mkDerivation rec {
     (mk (!stdenv.isFreeBSD) "opengl") "-xrender" "-xrandr" "-xinerama" "-xcursor" "-xinput" "-xfixes" "-fontconfig"
     "-qdbus" (mk (cups != null) "cups") "-glib" "-dbus-linked" "-openssl-linked"
 
-    "-${if mysql != null then "plugin" else "no"}-sql-mysql" "-system-sqlite"
+    "-${if libmysqlclient != null then "plugin" else "no"}-sql-mysql" "-system-sqlite"
 
     "-exceptions" "-xmlpatterns"
 
@@ -192,7 +192,7 @@ stdenv.mkDerivation rec {
   buildInputs =
     [ cups # Qt dlopen's libcups instead of linking to it
       postgresql sqlite libjpeg libmng libtiff icu ]
-    ++ lib.optionals (mysql != null) [ mysql.connector-c ]
+    ++ lib.optionals (libmysqlclient != null) [ libmysqlclient ]
     ++ lib.optionals gtkStyle [ gtk2 gdk-pixbuf ]
     ++ lib.optionals stdenv.isDarwin [ ApplicationServices OpenGL Cocoa AGL libcxx libobjc ];