Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
/ microgram Public archive

Commit

Permalink
Deflate MariaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
ip1981 committed Apr 24, 2015
1 parent 12c504f commit 0977cb9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/mariadb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ stdenv.mkDerivation rec {
postInstall = ''
sed -i -e "s|-lssl|-L${openssl}/lib -lssl|g" $out/bin/mysql_config
sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db
rm -rf $out/mysql-test $out/sql-bench
# https://github.com/NixOS/nixpkgs/issues/7117
rm -r $out/mysql-test $out/sql-bench $out/data # Don't need testing data
rm $out/share/man/man1/mysql-test-run.pl.1
rm $out/bin/rcmysql # Not needed with nixos units
rm $out/bin/mysqlbug # Encodes a path to gcc and not really useful
find $out/bin -name \*test\* -exec rm {} \;
'';

meta = {
Expand Down

1 comment on commit 0977cb9

@proger
Copy link
Contributor

@proger proger commented on 0977cb9 Apr 24, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 could you paste this to mariadb-galera as well pls"?

Please sign in to comment.