diff options
author | Izorkin <izorkin@elven.pw> | 2019-08-01 14:22:10 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2019-08-01 14:22:10 +0300 |
commit | 0692c615e5c62b7664c66575114d3253d6a391df (patch) | |
tree | 72fb4c996484a8c979d1fbb2fffbf0d705c1d2e3 /pkgs/servers/sql | |
parent | 0a4562277f04a32582248a4552a90569e25b1daa (diff) |
mariadb: remove test binaries
Diffstat (limited to 'pkgs/servers/sql')
-rw-r--r-- | pkgs/servers/sql/mariadb/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/sql/mariadb/default.nix b/pkgs/servers/sql/mariadb/default.nix index 541db100595d6..4c185cc8915bb 100644 --- a/pkgs/servers/sql/mariadb/default.nix +++ b/pkgs/servers/sql/mariadb/default.nix @@ -85,6 +85,7 @@ common = rec { # attributes common to both builds "-DWITH_SSL=system" "-DWITH_PCRE=system" "-DWITH_SAFEMALLOC=OFF" + "-DWITH_UNIT_TESTS=OFF" "-DEMBEDDED_LIBRARY=OFF" ] ++ optional stdenv.isDarwin [ # On Darwin without sandbox, CMake will find the system java and attempt to build with java support, but @@ -137,7 +138,7 @@ client = stdenv.mkDerivation (common // { postInstall = common.postInstall + '' rm -r "$out"/share/doc - rm "$out"/bin/{mytop,wsrep_sst_rsync_wan} + rm "$out"/bin/{mysqltest,mytop,wsrep_sst_rsync_wan} rm "$out"/lib/mysql/plugin/daemon_example.ini libmysqlclient_path=$(readlink -f $out/lib/mysql/libmysqlclient${libExt}) rm "$out"/lib/mysql/{libmariadb${libExt},libmysqlclient${libExt},libmysqlclient_r${libExt}} @@ -196,6 +197,7 @@ server = stdenv.mkDerivation (common // { postInstall = common.postInstall + '' chmod +x "$out"/bin/wsrep_sst_common + rm "$out"/bin/mysql_client_test rm -r "$out"/data # Don't need testing data rm "$out"/lib/mysql/plugin/daemon_example.ini rm "$out"/lib/mysql/{libmysqlclient${libExt},libmysqlclient_r${libExt}} |