Skip to content

Commit

Permalink
feat(clojure-lsp): use the static release of clojure-lsp when running…
Browse files Browse the repository at this point in the history
… on musl libc (#410)
  • Loading branch information
rslabbert authored Sep 13, 2022
1 parent a819655 commit beeb70f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lua/mason-registry/clojure-lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ return Pkg.new {
asset_file = coalesce(
when(platform.is.mac_arm64, "clojure-lsp-native-macos-aarch64.zip"),
when(platform.is.mac_x64, "clojure-lsp-native-macos-amd64.zip"),
when(platform.is.linux_x64, "clojure-lsp-native-linux-amd64.zip"),
when(
platform.is.linux_x64 and platform.get_libc() == "musl",
"clojure-lsp-native-static-linux-amd64.zip"
),
when(platform.is.linux_x64 and platform.get_libc() == "glibc", "clojure-lsp-native-linux-amd64.zip"),
when(platform.is.linux_arm64, "clojure-lsp-native-linux-aarch64.zip"),
when(platform.is_win, "clojure-lsp-native-windows-amd64.zip")
),
Expand Down

0 comments on commit beeb70f

Please sign in to comment.