This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-19
Channels
- # announcements (37)
- # aws (6)
- # babashka (12)
- # babashka-sci-dev (16)
- # beginners (83)
- # biff (10)
- # cider (14)
- # cljdoc (26)
- # cljs-dev (20)
- # clojure (123)
- # clojure-czech (9)
- # clojure-europe (26)
- # clojure-nl (4)
- # clojure-norway (20)
- # clojure-spec (7)
- # clojure-uk (6)
- # clojured (14)
- # clojurescript (28)
- # cursive (5)
- # datalevin (8)
- # datomic (3)
- # duct (6)
- # emacs (26)
- # events (2)
- # fulcro (7)
- # gratitude (1)
- # holy-lambda (19)
- # integrant (1)
- # jobs (2)
- # leiningen (8)
- # lsp (7)
- # nyc (1)
- # pathom (70)
- # re-frame (8)
- # reagent (15)
- # releases (1)
- # sci (8)
- # shadow-cljs (117)
- # testing (5)
- # tools-deps (11)
- # vim (5)
Is neil
on master working for you guys?
I just updated the binary from master:
neil_local="$HOME/.local/bin/neil"
wget -O "$neil_local" ""
chmod +x "$neil_local"
But I'm getting problems with dep versions
and dep search
:
[email protected] ~/tmp/temp-2022-04-19 % neil dep versions org.clojure/clojure
:lib org.clojure/clojure :version nil
[email protected] ~/tmp/temp-2022-04-19 % neil dep search org.clojure/clojure
----- Error --------------------------------------------------------------------
Type: java.lang.NullPointerException
Location: /home/teodorlu/.local/bin/neil:326:11
----- Context ------------------------------------------------------------------
322: (let [search-term (first (:cmds opts))
323: url (str "" search-term)
324: {search-results :results
325: results-count :count} (curl-get-json url)]
326: (when (zero? results-count)
^---
327: (binding [*out* *err*]
328: (println "Unable to find" search-term "on Clojars.")
329: (System/exit 1)))
330: (doseq [search-result search-results]
331: (println :lib (format "%s/%s"
----- Stack trace --------------------------------------------------------------
clojure.core/zero? - <built-in>
babashka.neil/dep-search - /home/teodorlu/.local/bin/neil:326:11
babashka.neil/dep-search - /home/teodorlu/.local/bin/neil:321:1
babashka.neil/dep - /home/teodorlu/.local/bin/neil:403:16
babashka.neil/dep - /home/teodorlu/.local/bin/neil:397:1
babashka.neil/-main - /home/teodorlu/.local/bin/neil:409:13
babashka.neil/-main - /home/teodorlu/.local/bin/neil:405:1
babashka.neil - /home/teodorlu/.local/bin/neil:414:3
(realizing that I shouldn't just be installing from master if I wanted something stable)
@U3X7174KS Maybe the script should be regenerated on master? I'd appreciate it if you wanted to try that locally to see what's wrong
No worries - 0.0.23 works fine.
Running bb run gen-script
from master produces zero changes in the neil
binary here.
maybe we should add a test and revert this commit: https://github.com/babashka/neil/commit/893dc58dade872f28bb27f2ea0a14f3b260de9e7