Open jackblackevo opened 2 months ago
I tried downloading selene-0.27.1-macos.zip
and selene-light-0.27.1-macos.zip
from the selene releases page. After extracting them, I encountered an error when trying to run them:
zsh: bad CPU type in executable: ./selene
And the source in the mason-registry also directly points to these files: https://github.com/mason-org/mason-registry/blob/6466ec413845bb306137749747dd7930d71bfe67/packages/selene/package.yaml
Driven by curiosity, I checked the script for selene on Homebrew: https://github.com/Homebrew/homebrew-core/blob/046673b5ca6f2afea2e4e0879f69f0ead8a50009/Formula/s/selene.rb
I discovered that Homebrew builds separate executables for Macs with different CPU types.
Same situation here
➕
we can use https://github.com/cargo-bins/cargo-quickinstall/releases/download/selene-0.27.1/selene-0.27.1-x86_64-apple-darwin.tar.gz for x86_64 arch macos
Reported upstream https://github.com/Kampfkarren/selene/issues/600
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
Hi, I am using mason.nvim on macOS 14.4.1 (build 23E224, MacBook Pro 16-inch, 2019, Intel Core i7), and every time I open a Lua file, I receive the following warning message. However, there is no such issue on Ubuntu (WSL 2):
The result of running
:checkhealth null-ls
is as follows:I also tried
:!selene
, and got the following result:It seems that mason.nvim has installed a version of Selene that is not compatible with Intel Mac. How can I resolve this? Thank you very much!
Expected behavior
There were no warning messages, and selene is running normally.
Affected packages
selene
Mason output
No response
Installation log
Neovim version (>= 0.7)
NVIM v0.9.5 Build type: Release LuaJIT 2.1.1713773202
Operating system/version
Darwin MBP 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:11:05 PDT 2024; root:xnu-10063.101.17~1/RELEASE_X86_64 x86_64
Healthcheck
Screenshots
No response