From 87e7ed77da8d2260a761591907fdfce5c4c16e36 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 5 Dec 2021 01:04:03 +0100 Subject: [PATCH] gnu: java-log4j-api: Remove reference to %outputs. * gnu/packages/java.scm (java-log4j-api)[arguments]: Remove reference to %outputs by using a gexp. --- gnu/packages/java.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 9261ccd367..bbb337bde5 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7884,8 +7884,7 @@ (define-public java-log4j-api `(#:tests? #f ; tests require unpackaged software #:jar-name "log4j-api.jar" #:make-flags - (list (string-append "-Ddist.dir=" (assoc-ref %outputs "out") - "/share/java")) + ,#~(list (string-append "-Ddist.dir=" #$output "/share/java")) #:phases (modify-phases %standard-phases (add-after 'unpack 'enter-dir