summary refs log tree commit diff
path: root/pkgs/tools/networking/maxscale
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/tools/networking/maxscale
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/tools/networking/maxscale')
-rw-r--r--pkgs/tools/networking/maxscale/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/maxscale/default.nix b/pkgs/tools/networking/maxscale/default.nix
index 32f6b11d77c..d047646fa71 100644
--- a/pkgs/tools/networking/maxscale/default.nix
+++ b/pkgs/tools/networking/maxscale/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, cmake, pkgconfig, glibc
-, bison2, curl, flex, gperftools, jansson, jemalloc, kerberos, lua, mariadb
+, bison2, curl, flex, gperftools, jansson, jemalloc, kerberos, lua, libmysqlclient
 , ncurses, openssl, pcre, pcre2, perl, rabbitmq-c, sqlite, tcl
 , libaio, libedit, libtool, libui, libuuid, zlib
 }:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake pkgconfig ];
 
   buildInputs = [
-    bison2 curl flex gperftools jansson jemalloc kerberos lua mariadb.connector-c
+    bison2 curl flex gperftools jansson jemalloc kerberos lua libmysqlclient
     ncurses openssl pcre pcre2 perl rabbitmq-c sqlite tcl
     libaio libedit libtool libui libuuid zlib
   ];
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
   postInstall = ''
     find $out/bin -type f -perm -0100 | while read f1; do
       patchelf \
-        --set-rpath "$(patchelf --print-rpath $f1):${mariadb.connector-c}/lib/mariadb:$out/lib/maxscale" \
+        --set-rpath "$(patchelf --print-rpath $f1):${libmysqlclient}/lib/mariadb:$out/lib/maxscale" \
         --set-interpreter "$(cat ${stdenv.cc}/nix-support/dynamic-linker)" $f1 \
         && patchelf --shrink-rpath $f1
     done