Skip to content

Commit 93fc023

Browse files
committed
Use cider-jack-in-lein-plugins with clojure-cli and shadow-cljs
It's ugly, but right now it's necessary because of the way extensions like sayid and clj-refactor work. They add their dependencies only to this list right now, therefore the need for this change.
1 parent a011152 commit 93fc023

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cider.el

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,7 @@ removed, LEIN-PLUGINS, and finally PARAMS."
521521
(defun cider-clojure-cli-jack-in-dependencies (global-opts params dependencies)
522522
"Create Clojure tools.deps jack-in dependencies.
523523
Does so by concatenating GLOBAL-OPTS, DEPENDENCIES finally PARAMS."
524-
(let ((dependencies (append dependencies
525-
`(("cider/cider-nrepl" ,(upcase cider-version))))))
524+
(let ((dependencies (append dependencies cider-jack-in-lein-plugins)))
526525
(concat
527526
global-opts
528527
(unless (seq-empty-p global-opts) " ")
@@ -536,8 +535,7 @@ Does so by concatenating GLOBAL-OPTS, DEPENDENCIES finally PARAMS."
536535
(defun cider-shadow-cljs-jack-in-dependencies (global-opts params dependencies)
537536
"Create shadow-cljs jack-in deps.
538537
Does so by concatenating GLOBAL-OPTS, DEPENDENCIES finally PARAMS."
539-
(let ((dependencies (append dependencies
540-
`(("cider/cider-nrepl" ,(upcase cider-version))))))
538+
(let ((dependencies (append dependencies cider-jack-in-lein-plugins)))
541539
(concat
542540
global-opts
543541
(unless (seq-empty-p global-opts) " ")

0 commit comments

Comments
 (0)