mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
mariadb: disabling mysql-test and sql-bench directories
This commit is contained in:
parent
d3e821156e
commit
b2598d57d0
1 changed files with 3 additions and 1 deletions
|
@ -134,6 +134,8 @@ everything = stdenv.mkDerivation (common // {
|
|||
"-DINSTALL_DOCREADMEDIR=share/doc/mysql"
|
||||
"-DINSTALL_DOCDIR=share/doc/mysql"
|
||||
"-DINSTALL_SHAREDIR=share/mysql"
|
||||
"-DINSTALL_MYSQLTESTDIR=OFF"
|
||||
"-DINSTALL_SQLBENCHDIR=OFF"
|
||||
|
||||
"-DENABLED_LOCAL_INFILE=ON"
|
||||
"-DWITH_READLINE=ON"
|
||||
|
@ -152,7 +154,7 @@ everything = stdenv.mkDerivation (common // {
|
|||
];
|
||||
|
||||
postInstall = common.postInstall + ''
|
||||
rm -r "$out"/{mysql-test,sql-bench,data} # Don't need testing data
|
||||
rm -r "$out"/data # Don't need testing data
|
||||
rm "$out"/share/man/man1/mysql-test-run.pl.1
|
||||
rm "$out"/bin/rcmysql
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue