From ba5cb6456de2d7f9d113dff6343f9374e9d086fb Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 4 Dec 2021 21:48:45 +0100 Subject: gnu: java-commons-collections4: Remove references to %build-inputs. * gnu/packages/java.scm (java-commons-collections4)[arguments]: Use a gexp to remove references to %build-inputs. --- gnu/packages/java.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 6fd7d99e6f..6a6ce4da42 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5991,15 +5991,15 @@ targeting the JVM.") (arguments `(#:test-target "test" #:make-flags - (let ((hamcrest (assoc-ref %build-inputs "java-hamcrest-core")) - (junit (assoc-ref %build-inputs "java-junit")) - (easymock (assoc-ref %build-inputs "java-easymock"))) - (list (string-append "-Djunit.jar=" - (car (find-files junit "jar$"))) - (string-append "-Dhamcrest.jar=" - (car (find-files hamcrest "jar$"))) - (string-append "-Deasymock.jar=" easymock - "/share/java/easymock.jar"))) + ,#~(let ((hamcrest #$(this-package-native-input "java-hamcrest-core")) + (junit #$(this-package-native-input "java-junit")) + (easymock #$(this-package-native-input "java-easymock"))) + (list (string-append "-Djunit.jar=" + (car (find-files junit "jar$"))) + (string-append "-Dhamcrest.jar=" + (car (find-files hamcrest "jar$"))) + (string-append "-Deasymock.jar=" easymock + "/share/java/easymock.jar"))) #:phases (modify-phases %standard-phases (replace 'install -- cgit v1.2.3