[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/87: gnu: ant-apache-bcel: Fix inheritance by using gexp.
From: |
guix-commits |
Subject: |
12/87: gnu: ant-apache-bcel: Fix inheritance by using gexp. |
Date: |
Mon, 9 Jan 2023 18:27:28 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit f05d22847275f1d226a42dc044e31ba73e0a68c4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 9 00:44:26 2023 +0100
gnu: ant-apache-bcel: Fix inheritance by using gexp.
* gnu/packages/java.scm (ant-apache-bcel)[arguments]: Use gexp; also remove
trailing #T from build phases.
---
gnu/packages/java.scm | 39 ++++++++++++++++++---------------------
1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c81b889431..0124491fa6 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1713,27 +1713,24 @@ build process and its dependencies, whereas Make uses
Makefile format.")
(arguments
(substitute-keyword-arguments (package-arguments ant/java8)
((#:phases phases)
- `(modify-phases ,phases
- (add-after 'unpack 'link-bcel
- (lambda* (#:key inputs #:allow-other-keys)
- (for-each (lambda (file)
- (symlink file
- (string-append "lib/optional/"
- (basename file))))
- (find-files (assoc-ref inputs "java-commons-bcel")
- "\\.jar$"))
- #t))
- (add-after 'build 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (share (string-append out "/share/java"))
- (bin (string-append out "/bin"))
- (lib (string-append out "/lib")))
- (mkdir-p share)
- (install-file (string-append lib "/ant-apache-bcel.jar")
share)
- (delete-file-recursively bin)
- (delete-file-recursively lib)
- #t)))))))
+ #~(modify-phases #$phases
+ (add-after 'unpack 'link-bcel
+ (lambda* (#:key inputs #:allow-other-keys)
+ (for-each (lambda (file)
+ (symlink file
+ (string-append "lib/optional/"
+ (basename file))))
+ (find-files (assoc-ref inputs "java-commons-bcel")
+ "\\.jar$"))))
+ (add-after 'build 'install
+ (lambda _
+ (let ((share (string-append #$output "/share/java"))
+ (bin (string-append #$output "/bin"))
+ (lib (string-append #$output "/lib")))
+ (mkdir-p share)
+ (install-file (string-append lib "/ant-apache-bcel.jar")
share)
+ (delete-file-recursively bin)
+ (delete-file-recursively lib))))))))
(inputs
(modify-inputs (package-inputs ant/java8)
(prepend java-commons-bcel)))))
- branch staging updated (0d65f7daae -> d9bcd1a8d6), guix-commits, 2023/01/09
- 01/87: gnu: Move Java XML packages to new module., guix-commits, 2023/01/09
- 03/87: gnu: java-jgit-4.2: Do not build with icedtea-7., guix-commits, 2023/01/09
- 02/87: gnu: Move Java bootstrap packages to separate module., guix-commits, 2023/01/09
- 06/87: gnu: java-cisd-args4j: Use later version of ECJ., guix-commits, 2023/01/09
- 07/87: gnu: java-cisd-args4j: Do not build with icedtea-7., guix-commits, 2023/01/09
- 09/87: gnu: java-ecj: Do not inherit from java-ecj-3., guix-commits, 2023/01/09
- 12/87: gnu: ant-apache-bcel: Fix inheritance by using gexp.,
guix-commits <=
- 13/87: gnu: ant-junit: Fix inheritance by using gexp., guix-commits, 2023/01/09
- 16/87: gnu: ikiwiki: Add missing inputs., guix-commits, 2023/01/09
- 17/87: gnu: ikiwiki: Remove input labels., guix-commits, 2023/01/09
- 18/87: home: environment-variables: Return support for file-likes and gexps., guix-commits, 2023/01/09
- 19/87: home: environment-variables: Fix escaping., guix-commits, 2023/01/09
- 20/87: gnu: Add r-gg3d., guix-commits, 2023/01/09
- 27/87: gnu: Add minetest-wielded-light., guix-commits, 2023/01/09
- 04/87: gnu: java-jgit-4.2: Remove trailing #T from build phase., guix-commits, 2023/01/09
- 05/87: gnu: java-cisd-args4j: Remove trailing #T from build phase., guix-commits, 2023/01/09
- 08/87: gnu: Remove java-ecj-3.5., guix-commits, 2023/01/09