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.
This commit is contained in:
Marius Bakke 2018-07-17 02:50:58 +02:00
parent 2001d2dac4
commit 963157f1cc
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 1 deletions

View File

@ -763,7 +763,11 @@ Language.")
(with-directory-excursion out (with-directory-excursion out
(for-each delete-file-recursively (for-each delete-file-recursively
'("data" "mysql-test" "sql-bench" '("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)))))) #t))))))
(native-inputs (native-inputs
`(("bison" ,bison) `(("bison" ,bison)