forked from mirrors/nixpkgs
mariadb: Remove superfluous files
This commit is contained in:
parent
54f58ee991
commit
3adb47d7d3
|
@ -79,9 +79,10 @@ stdenv.mkDerivation rec {
|
||||||
--replace basedir=\"\" basedir=\"$out\"
|
--replace basedir=\"\" basedir=\"$out\"
|
||||||
|
|
||||||
# Remove superfluous files
|
# 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/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 {} \;
|
find $out/bin -name \*test\* -exec rm {} \;
|
||||||
|
|
||||||
# Separate libs and includes into their own derivation
|
# Separate libs and includes into their own derivation
|
||||||
|
|
Loading…
Reference in a new issue