mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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 @@ (define (extract-library name)
|
|||
(add-after 'install-license-files 'install-doc
|
||||
(cut install-doc #:doc-dirs '("doc/clojure/") <...>))
|
||||
(add-after 'install-doc 'install-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)))))
|
||||
(install-javadoc "target/javadoc/")))))
|
||||
(native-inputs libraries)
|
||||
(home-page "https://clojure.org/")
|
||||
(synopsis "Lisp dialect running on the JVM")
|
||||
|
|
Loading…
Reference in a new issue