aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Boskovits <boskovits@gmail.com>2018-07-28 08:04:53 +0200
committerGábor Boskovits <boskovits@gmail.com>2018-07-29 08:41:34 +0200
commit62196859227a91a206deceaae2829d9c32308347 (patch)
tree474b0beffea0c5b5dd20fd56e6ba526a49916db5
parent48d7ac175f69fea587eaa0358eddb5c76205e8ad (diff)
downloadpatches-62196859227a91a206deceaae2829d9c32308347.tar
patches-62196859227a91a206deceaae2829d9c32308347.tar.gz
gnu: clojure: Fix index generation.
* gnu/packages/java.scm (clojure)[arguments]: Add phase 'fix-manifest-classpath to remove offending directory entry making indexing fail.
-rw-r--r--gnu/packages/java.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 2ba6d76cae..0ff92c763d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1862,6 +1862,11 @@ new Date();"))
"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 _