mariadb.client: fixup build

I expect it got broken by mariadb update in PR #132916 (a160dfbf3).
This commit is contained in:
Vladimír Čunát 2021-09-12 11:36:56 +02:00
parent 45de5d0c9a
commit 01ab36d875
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -95,7 +95,7 @@ common = rec { # attributes common to both builds
rm "$out"/bin/{mariadb_config,mysql_config}
rm -r $out/include
rm -r $out/lib/pkgconfig
rm -r $out/share/aclocal
rm -rf "$out"/share/aclocal
'';
passthru.mysqlVersion = "5.7";
@ -135,7 +135,7 @@ client = stdenv.mkDerivation (common // {
];
postInstall = common.postInstall + ''
rm -r "$out"/share/doc
rm -rf "$out"/share/doc
rm "$out"/bin/{mysqltest,mytop}
libmysqlclient_path=$(readlink -f $out/lib/libmysqlclient${libExt})
rm "$out"/lib/{libmariadb${libExt},libmysqlclient${libExt},libmysqlclient_r${libExt}}