gnu: ant: Delete bundled jars.

* gnu/packages/java.scm (ant)[source]: Delete bundled jars in a snippet.
This commit is contained in:
Ricardo Wurmus 2017-05-14 00:07:33 +02:00
parent fded0c69dd
commit e7a5d73ea9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 1 deletions

View File

@ -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)