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.
This commit is contained in:
Julien Lepiller 2021-12-04 21:48:45 +01:00
parent 035fec27fc
commit ba5cb6456d
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -5991,9 +5991,9 @@ (define-public java-commons-collections4
(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")))
,#~(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="