Revert "Merge branch 'staging-next'"
This reverts commit41af38f372, reversing changes made tof0fec244ca. Let's delay this. We have some serious regressions.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, glibc
|
||||
, bison2, curl, flex, gperftools, jansson, jemalloc, kerberos, lua, libmysqlclient
|
||||
, bison2, curl, flex, gperftools, jansson, jemalloc, kerberos, lua, mariadb
|
||||
, 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 libmysqlclient
|
||||
bison2 curl flex gperftools jansson jemalloc kerberos lua mariadb.connector-c
|
||||
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):${libmysqlclient}/lib/mariadb:$out/lib/maxscale" \
|
||||
--set-rpath "$(patchelf --print-rpath $f1):${mariadb.connector-c}/lib/mariadb:$out/lib/maxscale" \
|
||||
--set-interpreter "$(cat ${stdenv.cc}/nix-support/dynamic-linker)" $f1 \
|
||||
&& patchelf --shrink-rpath $f1
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user