[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/50: gnu: ant-bootstrap: Bind OUTPUTS in build phase.
From: |
guix-commits |
Subject: |
23/50: gnu: ant-bootstrap: Bind OUTPUTS in build phase. |
Date: |
Thu, 23 Dec 2021 12:52:35 -0500 (EST) |
rekado pushed a commit to branch wip-java-bootstrap-simplify
in repository guix.
commit 0f89095def62c17a3052af875aa7150caaff53a5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Dec 18 17:25:28 2021 +0100
gnu: ant-bootstrap: Bind OUTPUTS in build phase.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Bind OUTPUTS to remove
reference to global %OUTPUTS.
---
gnu/packages/java.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 94567ba..0835383 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -359,7 +359,7 @@ JNI.")
(setenv "JAVAC" (search-input-file inputs "/bin/jikes"))
(setenv "CLASSPATH" (search-input-file inputs "/lib/rt.jar"))))
(replace 'build
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
;; Ant complains if this file doesn't exist.
(setenv "HOME" "/tmp")
(with-output-to-file "/tmp/.ant.properties"
@@ -386,7 +386,7 @@ JNI.")
(("depends=\"jars,test-jar\"") "depends=\"jars\""))
(invoke "bash" "bootstrap.sh"
(string-append "-Ddist.dir="
- (assoc-ref %outputs "out")))))
+ (assoc-ref outputs "out")))))
(add-after 'build 'strip-jar-timestamps ;based on ant-build-system
(lambda* (#:key outputs #:allow-other-keys)
(define (repack-archive jar)
- branch wip-java-bootstrap-simplify created (now 1ecba7d), guix-commits, 2021/12/23
- 01/50: gnu: jamvm: Simplify snippet., guix-commits, 2021/12/23
- 04/50: gnu: ecj-javac-wrapper: Remove trailing #T., guix-commits, 2021/12/23
- 09/50: gnu: Add ecj4-javac-wrapper., guix-commits, 2021/12/23
- 12/50: gnu: icedtea-7: Remove trailing #T., guix-commits, 2021/12/23
- 03/50: gnu: ecj-javac-wrapper: Remove rt.jar from classpath., guix-commits, 2021/12/23
- 07/50: gnu: ecj-javac-wrapper-final: Use new style for inputs., guix-commits, 2021/12/23
- 23/50: gnu: ant-bootstrap: Bind OUTPUTS in build phase.,
guix-commits <=
- 21/50: gnu: icedtea-8: Update to 3.19.0., guix-commits, 2021/12/23
- 22/50: gnu: jamvm-1-bootstrap: Simplify snippet., guix-commits, 2021/12/23
- 05/50: gnu: ecj-javac-wrapper: Use Guile 3., guix-commits, 2021/12/23
- 02/50: gnu: ecj-bootstrap: Remove trailing #T., guix-commits, 2021/12/23
- 16/50: gnu: icedtea-7: Build with ECJ 4, Jamvm, and GNU Classpath., guix-commits, 2021/12/23
- 19/50: gnu: icedtea-8: Remove trailing #T from build phases., guix-commits, 2021/12/23
- 24/50: gnu: ant-bootstrap: Remove trailing #T from build phase., guix-commits, 2021/12/23
- 15/50: gnu: icedtea-7: Import missing module for read-line., guix-commits, 2021/12/23
- 35/50: gnu: classpath-devel: Use label-less input style., guix-commits, 2021/12/23
- 42/50: gnu: java-mail: Disable SSL test., guix-commits, 2021/12/23