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>
This commit is contained in:
Björn Höfling 2018-07-21 10:20:38 +02:00 committed by Julien Lepiller
parent 718f791f4e
commit 9936ffe77d
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 4 additions and 0 deletions

View File

@ -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/" (uri (string-append "https://github.com/google/guice/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" 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 (sha256
(base32 (base32
"0dwmqjzlavb144ywqqglj3h68hqszkff8ai0a42hyb5il0qh4rbp")))) "0dwmqjzlavb144ywqqglj3h68hqszkff8ai0a42hyb5il0qh4rbp"))))