lsp

ericdallo 2025-03-07T18:10:36.412959Z

clojure-lsp Released https://clojure-lsp.io/ 2025.03.07-17.42.36 with some new improvements and fixes: • General ◦ Bump clj-kondo to 2025.02.20. ◦ Add support for OpenTelemetry(otlp) log, enabled if configured. https://github.com/clojure-lsp/clojure-lsp/issues/1963 • Editor ◦ Improve paredit slurp and barf corner cases. https://github.com/clojure-lsp/clojure-lsp/pull/1973 https://github.com/clojure-lsp/clojure-lsp/pull/1976 ◦ Add Semantic Tokens support for the Clojure Reader Dispatch macro #_ (ignore next form). https://github.com/clojure-lsp/clojure-lsp/pull/1965 ◦ Fix regression on previous version on snippets completion. https://github.com/clojure-lsp/clojure-lsp/issues/1978

2
🎉 9
Stig Brautaset 2025-03-08T11:32:59.192519Z

Stig Brautaset 2025-03-08T11:33:13.892059Z

It looks like the nix profile is not building, see ^^

Stig Brautaset 2025-03-08T11:34:20.201049Z

For convenience, here's the last 25 log lines

> Location: /private/tmp/nix-build-clojure-lsp-DEV.drv-0/arjqjihc46iqrbl527rsx8a1hk5mm89w-source/scripts/make.clj:54:7
       >
       > ----- Context ------------------------------------------------------------------
       > 50:       (fs/delete-tree f))))
       > 51:
       > 52: (defn ^:private clj! [dir cmd]
       > 53:   (-> (deps/clojure cmd {:dir dir, :inherit true})
       > 54:       (p/check)))
       >           ^---
       > 55:
       > 56: (defn ^:private build [dir tool] (clj! dir ["-T:build" tool]))
       > 57:
       > 58: (defn ^:private unit-test [dir]
       > 59:   (println :running-unit-tests... dir)
       >
       > ----- Stack trace --------------------------------------------------------------
       > babashka.process/check                    - <built-in>
       > make/clj!                                 - /private/tmp/nix-build-clojure-lsp-DEV.drv-0/arjqjihc46iqrbl527rsx8a1hk5mm89w-source/scripts/make.clj:54:7
       > make/clj!                                 - /private/tmp/nix-build-clojure-lsp-DEV.drv-0/arjqjihc46iqrbl527rsx8a1hk5mm89w-source/scripts/make.clj:52:1
       > make/build                                - /private/tmp/nix-build-clojure-lsp-DEV.drv-0/arjqjihc46iqrbl527rsx8a1hk5mm89w-source/scripts/make.clj:56:34
       > make/build                                - /private/tmp/nix-build-clojure-lsp-DEV.drv-0/arjqjihc46iqrbl527rsx8a1hk5mm89w-source/scripts/make.clj:56:1
       > make                                      - /private/tmp/nix-build-clojure-lsp-DEV.drv-0/arjqjihc46iqrbl527rsx8a1hk5mm89w-source/scripts/make.clj:95:3
       > clojure.core/apply                        - <built-in>
       > user-56f7a7b6-6d60-42a2-83b4-19a2d352ff94 - <expr>:28:1
       >

ericdallo 2025-03-10T11:33:44.167729Z

The flake was more than a year outdated and that's why started failing for some reason, after updated it's working again, just pushed!

🎉 1
Stig Brautaset 2025-03-10T11:38:29.020889Z

Oh boy, so I should be getting lots of new features then laughcry

ericdallo 2025-03-10T11:39:17.810169Z

haha not really, it was only the way flake install clojure-lsp, clj-nix was pretty outdated, but clojure-lsp itself was updated

1
Stig Brautaset 2025-03-10T11:40:09.556479Z

aha! I see. Well, nix profile upgrade clojure-lsp --refresh is running, and taking a lot longer now so we'll see how it goes 🙂

🤞 1
Stig Brautaset 2025-03-10T12:14:33.657069Z

Success. Thank you 🙂

ericdallo 2025-03-10T12:14:51.718709Z

thanks for reporting!