[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26966: [PATCH 20/22] gnu: ant: Delete bundled jars.
From: |
Ricardo Wurmus |
Subject: |
bug#26966: [PATCH 20/22] gnu: ant: Delete bundled jars. |
Date: |
Wed, 17 May 2017 19:19:03 +0200 |
* gnu/packages/java.scm (ant)[source]: Delete bundled jars in a snippet.
---
gnu/packages/java.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5731ae565..f90c3f483 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -711,7 +711,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)
--
2.12.2
bug#26966: [PATCH 22/22] gnu: Remove GCJ., Ricardo Wurmus, 2017/05/17