guix-patches
[Top][All Lists]
Advanced

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

bug#26966: [PATCH 20/22] gnu: ant: Delete bundled jars.


From: Roel Janssen
Subject: bug#26966: [PATCH 20/22] gnu: ant: Delete bundled jars.
Date: Thu, 18 May 2017 12:31:28 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

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





reply via email to

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