gnu: clojure: Fix index generation.

* gnu/packages/java.scm (clojure)[arguments]: Add phase 'fix-manifest-classpath to remove
offending directory entry making indexing fail.
This commit is contained in:
Gábor Boskovits 2018-07-28 08:04:53 +02:00
parent 48d7ac175f
commit 6219685922
No known key found for this signature in database
GPG key ID: 2506A96CCF630B21

View file

@ -1862,6 +1862,11 @@ (define-public clojure
"test-generative-src"
"tools-namespace-src"))
#t))
(add-after 'unpack 'fix-manifest-classpath
(lambda _
(substitute* "build.xml"
(("<attribute name=\"Class-Path\" value=\".\"/>") ""))
#t))
;; The javadoc target is not built by default.
(add-after 'build 'build-doc
(lambda _