diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 94567ba5bc..0835383f5d 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -359,7 +359,7 @@ (define ant-bootstrap (setenv "JAVAC" (search-input-file inputs "/bin/jikes")) (setenv "CLASSPATH" (search-input-file inputs "/lib/rt.jar")))) (replace 'build - (lambda* (#:key inputs #:allow-other-keys) + (lambda* (#:key inputs outputs #:allow-other-keys) ;; Ant complains if this file doesn't exist. (setenv "HOME" "/tmp") (with-output-to-file "/tmp/.ant.properties" @@ -386,7 +386,7 @@ (define ant-bootstrap (("depends=\"jars,test-jar\"") "depends=\"jars\"")) (invoke "bash" "bootstrap.sh" (string-append "-Ddist.dir=" - (assoc-ref %outputs "out"))))) + (assoc-ref outputs "out"))))) (add-after 'build 'strip-jar-timestamps ;based on ant-build-system (lambda* (#:key outputs #:allow-other-keys) (define (repack-archive jar)