guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: gnu: java-commons-math3: Remove references to %build-inputs.


From: guix-commits
Subject: 06/06: gnu: java-commons-math3: Remove references to %build-inputs.
Date: Sat, 4 Dec 2021 16:07:59 -0500 (EST)

roptat pushed a commit to branch core-updates-frozen
in repository guix.

commit 634b46a469cbb78e80419f047605c05930e7ff10
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Dec 4 22:04:44 2021 +0100

    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.
---
 gnu/packages/java.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 6a6ce4d..2ec54cd 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]