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,11 +6202,11 @@ (define-public java-commons-exec
(arguments
`(#:test-target "test"
#:make-flags
(list (string-append "-Dmaven.junit.jar="
(car (find-files (assoc-ref %build-inputs "java-junit")
"jar$")))
"-Dmaven.compiler.source=1.7"
"-Dmaven.compiler.target=1.7")
,#~(list (string-append "-Dmaven.junit.jar="
(car (find-files #$(this-package-native-input "java-junit")
"jar$")))
"-Dmaven.compiler.source=1.7"
"-Dmaven.compiler.target=1.7")
#:phases
(modify-phases %standard-phases
(add-before 'build 'delete-network-tests