From e7a5d73ea9fb0eee5c7e116674e347849711f863 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 May 2017 00:07:33 +0200 Subject: gnu: ant: Delete bundled jars. * gnu/packages/java.scm (ant)[source]: Delete bundled jars in a snippet. --- gnu/packages/java.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 0e70514d33..238841aa9d 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -713,7 +713,13 @@ the standard javac executable. The tool runs on JamVM instead of SableVM."))) version "-src.tar.gz")) (sha256 (base32 - "1k28mka0m3isy9yr8gz84kz1f3f879rwaxrd44vdn9xbfwvwk86n")))) + "1k28mka0m3isy9yr8gz84kz1f3f879rwaxrd44vdn9xbfwvwk86n")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file + (find-files "lib/optional" "\\.jar$")) + #t)))) (arguments (substitute-keyword-arguments (package-arguments ant-bootstrap) ((#:phases phases) -- cgit v1.2.3