From 9fe48723c8266ffe8e6a639be2ec2e362cf20cb5 Mon Sep 17 00:00:00 2001 From: Reily Siegel Date: Thu, 23 Dec 2021 18:04:50 -0500 Subject: 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 --- gnu/packages/clojure.scm | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'gnu/packages/clojure.scm') diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index cb8a7a2cbe..f728083eb2 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -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") -- cgit v1.2.3