diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-07-17 02:50:58 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-07-26 14:38:03 +0200 |
commit | 963157f1cc421dba0623964dcdfd124e1cc64540 (patch) | |
tree | 780ca8970066f32c8ee42132766a7a76976e99cc /gnu/packages | |
parent | 2001d2dac45f658acc7abf367dafda49012e2b79 (diff) | |
download | patches-963157f1cc421dba0623964dcdfd124e1cc64540.tar patches-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')
-rw-r--r-- | gnu/packages/databases.scm | 6 |
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) |