3
0
Fork 0
forked from mirrors/nixpkgs

mariadb: Remove superfluous files

This commit is contained in:
William A. Kennington III 2015-04-11 22:32:31 -07:00
parent 54f58ee991
commit 3adb47d7d3

View file

@ -79,9 +79,10 @@ stdenv.mkDerivation rec {
--replace basedir=\"\" basedir=\"$out\"
# Remove superfluous files
rm -r $out/mysql-test $out/sql-bench $out/data
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
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 {} \;
# Separate libs and includes into their own derivation