From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgn8U-0007WK-1L for guix-patches@gnu.org; Sat, 21 Jul 2018 04:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgn8Q-00045Q-SU for guix-patches@gnu.org; Sat, 21 Jul 2018 04:21:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgn8Q-00045G-Lh for guix-patches@gnu.org; Sat, 21 Jul 2018 04:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgn8Q-0000Lb-F6 for guix-patches@gnu.org; Sat, 21 Jul 2018 04:21:02 -0400 Subject: [bug#32231] [PATCH 1/8] gnu: java-guice: Remove jars. Resent-Message-ID: Date: Sat, 21 Jul 2018 10:20:38 +0200 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180721102038.7922e88a@alma-ubu> In-Reply-To: <20180721101401.63dee9b6@alma-ubu> References: <20180721101401.63dee9b6@alma-ubu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/6JDyr1P1DKACqGlAY32AbwQ"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32231@debbugs.gnu.org --Sig_/6JDyr1P1DKACqGlAY32AbwQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable * gnu/packages/java.scm (java-guice)[source]: Add snippet to delete jar-fil= es. --- 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 ap= plication 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")))) --=20 2.7.4 --Sig_/6JDyr1P1DKACqGlAY32AbwQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltS7NcACgkQvyhstlk+X/1FeACfYLJlpS/ZQmdjSSh0hOUZVua9 UZIAni7TxdOKa7yPLyr9IE76ImAmq5/T =GLlB -----END PGP SIGNATURE----- --Sig_/6JDyr1P1DKACqGlAY32AbwQ--