mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: java-hamcrest-all: Add java-hamcrest-core to inputs.
Fixes <https://debbugs.gnu.org/31390>, probably. * gnu/packages/java.scm (java-hamcrest-all)[inputs]: Add java-hamcrest-core. [arguments]: Add java-hamcrest-core to the build-time classpath.
This commit is contained in:
parent
084f64cb03
commit
2cc63e6fcf
1 changed files with 10 additions and 1 deletions
|
@ -3871,11 +3871,20 @@ (define-public java-hamcrest-all
|
|||
(find-files (assoc-ref inputs "java-junit") "\\.jar$")
|
||||
(find-files (assoc-ref inputs "java-jmock") "\\.jar$")
|
||||
(find-files (assoc-ref inputs "java-easymock") "\\.jar$")))
|
||||
";")))
|
||||
";"))
|
||||
(("build/hamcrest-core-\\$\\{version\\}\\.jar")
|
||||
(string-append (assoc-ref inputs "java-hamcrest-core")
|
||||
"/share/java/hamcrest-core.jar")))
|
||||
#t)))))))
|
||||
(inputs
|
||||
`(("java-junit" ,java-junit)
|
||||
("java-jmock" ,java-jmock-1)
|
||||
;; This is necessary because of what seems to be a race condition.
|
||||
;; This package would sometimes fail to build because hamcrest-core.jar
|
||||
;; could not be found, even though it is built as part of this package.
|
||||
;; Adding java-hamcrest-core appears to fix this problem. See
|
||||
;; https://debbugs.gnu.org/31390 for more information.
|
||||
("java-hamcrest-core" ,java-hamcrest-core)
|
||||
("java-easymock" ,java-easymock)
|
||||
,@(package-inputs java-hamcrest-core)))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue