[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48735] [PATCH v2 10/10] gnu: clojure: Remove wrapper in favor of us
From: |
Reily Siegel |
Subject: |
[bug#48735] [PATCH v2 10/10] gnu: clojure: Remove wrapper in favor of using |
Date: |
Thu, 23 Dec 2021 18:04:50 -0500 |
* gnu/packages/clojure.scm (clojure): Remove generated wrapper around
clojure.jar, as it conflicts with the clojure-tools package.
---
gnu/packages/clojure.scm | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index b091f31eca..71e5e22937 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -122,23 +122,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")
--
2.34.0
- [bug#48735] [PATCH v2 01/10] gnu: Add maven-resolver-transport-file., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 02/10] gnu: Add maven-resolver-transport-http., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 03/10] build: clojure-utils: Don't try to compile Clojure, Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 04/10] gnu: Add clojure-test-check., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 05/10] gnu: Add clojure-tools-gitlibs., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 06/10] gnu: Add clojure-data-codec., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 07/10] gnu: Add clojure-data-xml., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 08/10] gnu: Add clojure-tools-deps-alpha., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 09/10] gnu: Add clojure-tools., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 10/10] gnu: clojure: Remove wrapper in favor of using,
Reily Siegel <=