guix-commits
[Top][All Lists]
Advanced

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

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


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

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

commit 5a4ad372ef4b695e2012f74ab0e1d8a8d7db509b
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Dec 4 21:06:30 2021 +0100

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

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 27f1da4..4ffb3dd 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6202,11 +6202,11 @@ file filters and endian classes.")
     (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



reply via email to

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