diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 4ffb3dd0b6..6fd7d99e6f 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6166,9 +6166,9 @@ (define-public java-commons-exec-1.1 (arguments `(#:test-target "test" #:make-flags - (list (string-append "-Dmaven.junit.jar=" - (car (find-files (assoc-ref %build-inputs "java-junit") - "jar$")))) + ,#~(list (string-append "-Dmaven.junit.jar=" + (car (find-files #$(this-package-native-input "java-junit") + "jar$")))) #:phases (modify-phases %standard-phases (add-before 'build 'delete-network-tests