diff options
author | Björn Höfling <bjoern.hoefling@bjoernhoefling.de> | 2018-07-21 10:25:10 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2018-07-25 00:27:17 +0200 |
commit | 8dae9c92b660f421b78ba79d643288a09c35eafe (patch) | |
tree | 78f2f3c6da0815a967b081cd0be843919654d797 /gnu | |
parent | 6a86d3576c96f39146ce31271b5fe568beb1a9b0 (diff) | |
download | guix-patches-8dae9c92b660f421b78ba79d643288a09c35eafe.tar guix-patches-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>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/web.scm | 8 |
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))) |