gnu: clojure: Remove wrapper in favor of using clojure-tools.
* gnu/packages/clojure.scm (clojure)[arguments]: Remove generated wrapper around clojure.jar, as it conflicts with the clojure-tools package. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
8cf2817d4c
commit
9fe48723c8
1 changed files with 1 additions and 17 deletions
|
@ -121,23 +121,7 @@
|
||||||
(add-after 'install-license-files 'install-doc
|
(add-after 'install-license-files 'install-doc
|
||||||
(cut install-doc #:doc-dirs '("doc/clojure/") <...>))
|
(cut install-doc #:doc-dirs '("doc/clojure/") <...>))
|
||||||
(add-after 'install-doc 'install-javadoc
|
(add-after 'install-doc 'install-javadoc
|
||||||
(install-javadoc "target/javadoc/"))
|
(install-javadoc "target/javadoc/")))))
|
||||||
(add-after 'install 'make-wrapper
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(wrapper (string-append out "/bin/clojure")))
|
|
||||||
(mkdir-p (string-append out "/bin"))
|
|
||||||
(with-output-to-file wrapper
|
|
||||||
(lambda _
|
|
||||||
(display
|
|
||||||
(string-append
|
|
||||||
"#!"
|
|
||||||
(which "sh")
|
|
||||||
"\n\n"
|
|
||||||
(assoc-ref inputs "jre") "/bin/java -jar "
|
|
||||||
out "/share/java/clojure.jar \"$@\"\n"))))
|
|
||||||
(chmod wrapper #o555))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs libraries)
|
(native-inputs libraries)
|
||||||
(home-page "https://clojure.org/")
|
(home-page "https://clojure.org/")
|
||||||
(synopsis "Lisp dialect running on the JVM")
|
(synopsis "Lisp dialect running on the JVM")
|
||||||
|
|
Reference in a new issue