~ruther/guix-local

634b46a469cbb78e80419f047605c05930e7ff10 — Julien Lepiller 4 years ago ba5cb64
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.
1 files changed, 6 insertions(+), 6 deletions(-)

M gnu/packages/java.scm
M gnu/packages/java.scm => gnu/packages/java.scm +6 -6
@@ 5901,12 5901,12 @@ overly clever.")
     `(#:build-target "jar"
       #:test-target "test"
       #:make-flags
       (let ((hamcrest (assoc-ref %build-inputs "java-hamcrest-core"))
             (junit    (assoc-ref %build-inputs "java-junit")))
         (list (string-append "-Djunit.jar="
                              (car (find-files junit "jar$")))
               (string-append "-Dhamcrest.jar="
                              (car (find-files hamcrest ".*.jar$")))))
       ,#~(let ((hamcrest #$(this-package-native-input "java-hamcrest-core"))
                (junit    #$(this-package-native-input "java-junit")))
            (list (string-append "-Djunit.jar="
                                 (car (find-files junit "jar$")))
                  (string-append "-Dhamcrest.jar="
                                 (car (find-files hamcrest ".*.jar$")))))
       #:phases
       (modify-phases %standard-phases
         ;; We want to build the jar in the build phase and run the tests