From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBIiz-0000LB-EG for guix-patches@gnu.org; Thu, 18 May 2017 06:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBIiw-0003x9-Be for guix-patches@gnu.org; Thu, 18 May 2017 06:32:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBIiw-0003x4-86 for guix-patches@gnu.org; Thu, 18 May 2017 06:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBIiw-0006am-3A for guix-patches@gnu.org; Thu, 18 May 2017 06:32:02 -0400 Subject: bug#26966: [PATCH 20/22] gnu: ant: Delete bundled jars. Resent-Message-ID: References: <20170517171905.7840-1-rekado@elephly.net> <20170517171905.7840-20-rekado@elephly.net> From: Roel Janssen In-reply-to: <20170517171905.7840-20-rekado@elephly.net> Date: Thu, 18 May 2017 12:31:28 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: Ricardo Wurmus Cc: 26966@debbugs.gnu.org Ricardo Wurmus writes: > * 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) LGTM. It's never a bad to do this.. ;) Kind regards, Roel Janssen