-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebrew bottle not available anymore #2162
Comments
Same for me. I'm on a new Apple Silicon M1 arch machine though, so I suspect that may be a factor I tried running with --build-from-source and I got this error:
I think that's a ghc error specifically though. Will keep digging and update this comment with my findings trtied installing ghc (glasgow haskell compiler) manually, but it's still trying to install it as a dependency first. I'm focusing on getting ghc to install cleanly right now. |
Ok, I wasn't able to get it working with brew, but I was able to install from source:
So there's a workaround for now, but hopefully the homebrew bottle can be restored before long. |
I'm also on M1 if that can help narrowing down the issue. |
That makes me think the homebrew bottles for hcl & haskell stuff haven't been updated for apple silicon yet. I'll see if I can find a place to post a request about that. Hopefully that would resolve this issue, but @koalaman might need to update a homebrew index as well once that's done. |
I just hit this on a brand-new M1 Mac, and did some digging. The Homebrew formula for shellcheck specifically depends on If Shellcheck can be compiled under ghc 8.10 or 9, that seems like the path to getting it bottled again for ARM macOS. (There’s still no |
FYI I opened an issue with ghc about it: https://gitlab.haskell.org/ghc/ghc/-/issues/19512. I didn't realize shellcheck was pinned to 8.8 though. that's a complication :( |
Homebrew’s Shellcheck is now built with @hoylemd I took a look at ghcup from the issue you filed on GHC 🙏, and the instructions for Apple Silicon say to run the installer script with |
@silverlyra It looks like it turned out intel:
|
I was able to
|
You don't need rosetta anymore. GHC has been updated and so can run shellcheck natively. |
@koalaman You can close this thread and the other threads: |
When running
brew install shellcheck
as mentioned in the README, it doesn't work anymore. I got this errorThe text was updated successfully, but these errors were encountered: