diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index bbb337bde5..21d97d70af 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7940,8 +7940,7 @@ (define-public java-log4j-core #:jar-name "log4j-core.jar" #:jdk ,icedtea-8 #: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