aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>2018-07-21 10:25:10 +0200
committerJulien Lepiller <julien@lepiller.eu>2018-07-25 00:27:17 +0200
commit8dae9c92b660f421b78ba79d643288a09c35eafe (patch)
tree78f2f3c6da0815a967b081cd0be843919654d797
parent6a86d3576c96f39146ce31271b5fe568beb1a9b0 (diff)
downloadguix-8dae9c92b660f421b78ba79d643288a09c35eafe.tar
guix-8dae9c92b660f421b78ba79d643288a09c35eafe.tar.gz
gnu: java-tomcat: Remove bundled jars.
* gnu/packages/web.scm (java-tomcat)[source]: Add snippet to remove bundled jars. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
-rw-r--r--gnu/packages/web.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 079d53032c..de6b118a59 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5719,7 +5719,13 @@ encoder/decoder based on the draft-12 specification for UBJSON.")
version "/src/apache-tomcat-" version "-src.tar.gz"))
(sha256
(base32
- "1qjsr6zmkdciakya4jqz0ssnsk02qlmmd898c05rasfwcrpj0xi6"))))
+ "1qjsr6zmkdciakya4jqz0ssnsk02qlmmd898c05rasfwcrpj0xi6"))
+ (modules '((guix build utils)))
+ ;; Delete bundled jars.
+ (snippet
+ '(begin
+ (for-each delete-file (find-files "." "\\.jar$"))
+ #t))))
(build-system ant-build-system)
(inputs
`(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))