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 @@ (define-public ant 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)