summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>2018-07-21 10:20:38 +0200
committerJulien Lepiller <julien@lepiller.eu>2018-07-25 00:26:37 +0200
commit9936ffe77d5f69185f68c52d44ec21c9f94600e6 (patch)
tree421eeb1b032d26ae8daa1124e50906d6a4cee0b5 /gnu/packages
parent718f791f4ef9f0f3b7d9cd218ba55a3a73c62111 (diff)
downloadguix-9936ffe77d5f69185f68c52d44ec21c9f94600e6.tar.gz
gnu: java-guice: Remove jars.
* gnu/packages/java.scm (java-guice)[source]: Add snippet to delete jar-files.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index bc28428935..b8587ccc07 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7908,6 +7908,10 @@ the dependency is said to be unsatisfied, and the application is broken.")
               (uri (string-append "https://github.com/google/guice/archive/"
                                   version ".tar.gz"))
               (file-name (string-append name "-" version ".tar.gz"))
+              (modules '((guix build utils)))
+              (snippet
+               `(begin
+                  (for-each delete-file (find-files "." ".*.jar"))))
               (sha256
                (base32
                 "0dwmqjzlavb144ywqqglj3h68hqszkff8ai0a42hyb5il0qh4rbp"))))