guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/08: gnu: java-guice: Remove jars.


From: julien lepiller
Subject: 01/08: gnu: java-guice: Remove jars.
Date: Tue, 24 Jul 2018 18:29:18 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 9936ffe77d5f69185f68c52d44ec21c9f94600e6
Author: Björn Höfling <address@hidden>
Date:   Sat Jul 21 10:20:38 2018 +0200

    gnu: java-guice: Remove jars.
    
    * gnu/packages/java.scm (java-guice)[source]: Add snippet to delete 
jar-files.
    
    Signed-off-by: Julien Lepiller <address@hidden>
---
 gnu/packages/java.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index bc28428..b8587cc 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"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]