summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-12-04 21:06:30 +0100
committerJulien Lepiller <julien@lepiller.eu>2021-12-04 22:06:49 +0100
commit5a4ad372ef4b695e2012f74ab0e1d8a8d7db509b (patch)
tree6878b9026caa557b11707e75d963b87428923c46
parent2aee138485c429db585cf2adc194e7c9203958e3 (diff)
downloadguix-5a4ad372ef4b695e2012f74ab0e1d8a8d7db509b.tar.gz
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.
-rw-r--r--gnu/packages/java.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 27f1da4c44..4ffb3dd0b6 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