diff options
author | Julien Lepiller <julien@lepiller.eu> | 2021-12-04 21:48:45 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2021-12-04 22:07:17 +0100 |
commit | ba5cb6456de2d7f9d113dff6343f9374e9d086fb (patch) | |
tree | a5b6a934c076e70ae71e10d055cf5958f0489953 /gnu | |
parent | 035fec27fc28eb4897679f1110bbcad915cf025c (diff) | |
download | guix-ba5cb6456de2d7f9d113dff6343f9374e9d086fb.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/java.scm | 18 |
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 |