gnu: java-log4j-api: Remove reference to %outputs.

* gnu/packages/java.scm (java-log4j-api)[arguments]: Remove reference to
%outputs by using a gexp.
This commit is contained in:
Ricardo Wurmus 2021-12-05 01:04:03 +01:00
parent 9485578570
commit 87e7ed77da
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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