From 963157f1cc421dba0623964dcdfd124e1cc64540 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 17 Jul 2018 02:50:58 +0200 Subject: gnu: mariadb: Delete test files and static libraries. * gnu/packages/databases.scm (mariadb)[arguments]: Adapt 'post-install' phase to purge static archives and test executables. --- gnu/packages/databases.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 752b400866..c285d2f53b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -763,7 +763,11 @@ Language.") (with-directory-excursion out (for-each delete-file-recursively '("data" "mysql-test" "sql-bench" - "share/man/man1/mysql-test-run.pl.1"))) + "share/man/man1/mysql-test-run.pl.1")) + ;; Delete huge mysqltest executables. + (for-each delete-file (find-files "bin" "test")) + ;; And static libraries. + (for-each delete-file (find-files "lib" "\\.a$"))) #t)))))) (native-inputs `(("bison" ,bison) -- cgit v1.2.3