gnu: java-commons-exec: Remove references to %build-inputs.

* gnu/packages/java.scm (java-commons-exec)[arguments]: Use a gexp to
remove references to %build-inputs.
This commit is contained in:
Julien Lepiller 2021-12-04 21:06:30 +01:00
parent 2aee138485
commit 5a4ad372ef
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -6202,8 +6202,8 @@ (define-public java-commons-exec
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
#:make-flags #:make-flags
(list (string-append "-Dmaven.junit.jar=" ,#~(list (string-append "-Dmaven.junit.jar="
(car (find-files (assoc-ref %build-inputs "java-junit") (car (find-files #$(this-package-native-input "java-junit")
"jar$"))) "jar$")))
"-Dmaven.compiler.source=1.7" "-Dmaven.compiler.source=1.7"
"-Dmaven.compiler.target=1.7") "-Dmaven.compiler.target=1.7")