aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-17 02:50:58 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-26 14:38:03 +0200
commit963157f1cc421dba0623964dcdfd124e1cc64540 (patch)
tree780ca8970066f32c8ee42132766a7a76976e99cc /gnu/packages/databases.scm
parent2001d2dac45f658acc7abf367dafda49012e2b79 (diff)
downloadguix-963157f1cc421dba0623964dcdfd124e1cc64540.tar
guix-963157f1cc421dba0623964dcdfd124e1cc64540.tar.gz
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.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm6
1 files changed, 5 insertions, 1 deletions
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)