aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-12-04 21:48:45 +0100
committerJulien Lepiller <julien@lepiller.eu>2021-12-04 22:07:17 +0100
commitba5cb6456de2d7f9d113dff6343f9374e9d086fb (patch)
treea5b6a934c076e70ae71e10d055cf5958f0489953
parent035fec27fc28eb4897679f1110bbcad915cf025c (diff)
downloadguix-ba5cb6456de2d7f9d113dff6343f9374e9d086fb.tar.gz
guix-ba5cb6456de2d7f9d113dff6343f9374e9d086fb.zip
gnu: java-commons-collections4: Remove references to %build-inputs.
* gnu/packages/java.scm (java-commons-collections4)[arguments]: Use a gexp to remove references to %build-inputs.
-rw-r--r--gnu/packages/java.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 6fd7d99e6f..6a6ce4da42 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5991,15 +5991,15 @@ targeting the JVM.")
(arguments
`(#:test-target "test"
#:make-flags
- (let ((hamcrest (assoc-ref %build-inputs "java-hamcrest-core"))
- (junit (assoc-ref %build-inputs "java-junit"))
- (easymock (assoc-ref %build-inputs "java-easymock")))
- (list (string-append "-Djunit.jar="
- (car (find-files junit "jar$")))
- (string-append "-Dhamcrest.jar="
- (car (find-files hamcrest "jar$")))
- (string-append "-Deasymock.jar=" easymock
- "/share/java/easymock.jar")))
+ ,#~(let ((hamcrest #$(this-package-native-input "java-hamcrest-core"))
+ (junit #$(this-package-native-input "java-junit"))
+ (easymock #$(this-package-native-input "java-easymock")))
+ (list (string-append "-Djunit.jar="
+ (car (find-files junit "jar$")))
+ (string-append "-Dhamcrest.jar="
+ (car (find-files hamcrest "jar$")))
+ (string-append "-Deasymock.jar=" easymock
+ "/share/java/easymock.jar")))
#:phases
(modify-phases %standard-phases
(replace 'install