mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 13:17:10 -05:00
gnu: java-commons-math3: Remove references to %build-inputs.
* gnu/packages/java.scm (java-commons-math3)[arguments]: Use a gexp to remove references to %build-inputs.
This commit is contained in:
parent
ba5cb6456d
commit
634b46a469
1 changed files with 6 additions and 6 deletions
|
@ -5901,12 +5901,12 @@ (define-public java-commons-math3
|
||||||
`(#:build-target "jar"
|
`(#:build-target "jar"
|
||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(let ((hamcrest (assoc-ref %build-inputs "java-hamcrest-core"))
|
,#~(let ((hamcrest #$(this-package-native-input "java-hamcrest-core"))
|
||||||
(junit (assoc-ref %build-inputs "java-junit")))
|
(junit #$(this-package-native-input "java-junit")))
|
||||||
(list (string-append "-Djunit.jar="
|
(list (string-append "-Djunit.jar="
|
||||||
(car (find-files junit "jar$")))
|
(car (find-files junit "jar$")))
|
||||||
(string-append "-Dhamcrest.jar="
|
(string-append "-Dhamcrest.jar="
|
||||||
(car (find-files hamcrest ".*.jar$")))))
|
(car (find-files hamcrest ".*.jar$")))))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; We want to build the jar in the build phase and run the tests
|
;; We want to build the jar in the build phase and run the tests
|
||||||
|
|
Loading…
Reference in a new issue