From 5a4ad372ef4b695e2012f74ab0e1d8a8d7db509b Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 4 Dec 2021 21:06:30 +0100 Subject: [PATCH] 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 27f1da4c44..4ffb3dd0b6 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6202,11 +6202,11 @@ (define-public java-commons-exec (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