You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce is empty — please provide the exact commands or steps used to trigger the build failure (e.g. the nix command you ran, your flake input configuration)
OpenCode version is empty — please provide the version you are using
Operating System field is empty — you mentioned macOS Sonoma in the description, but please fill in the dedicated field as well
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Thanks for updating the issue! It now meets our contributing guidelines. We appreciate you providing the steps to reproduce, your OpenCode version, and system information.
bun requires a CPU with AVX extensions to run - hence the illegal instruction error message. You can try overriding the bun version to baseline, but according to nixpkgs even that will have issues
My CPU is a Sandy Bridge generation. It has AVX support (256-bit SIMD). I'll do some research to see what I can do, because I can't acquire new hardware for now.
I think “Illegal Instruction” (i.e. SIGILL) on macOS does not necessarily mean that it is an unsupported CPU instruction, it could also be a system library incompatibility. Nixpkgs does not build bun itself, it just pulls pre-compiled binaries from the upstream, so it might be that those binaries require a newer macOS than what you have.
Activity
github-actions commentedon Mar 19, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If your error matches one of the above, please comment there instead (or reference it here with details on how your case differs).
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Mar 19, 2026
Thanks for updating the issue! It now meets our contributing guidelines. We appreciate you providing the steps to reproduce, your OpenCode version, and system information.
filipeltsilva commentedon Mar 19, 2026
Apparently, the flake runs
bun installone way or another without consider if bun is locally installed.gigamonster256 commentedon Mar 24, 2026
bun requires a CPU with AVX extensions to run - hence the illegal instruction error message. You can try overriding the bun version to baseline, but according to nixpkgs even that will have issues
filipeltsilva commentedon Mar 24, 2026
My CPU is a Sandy Bridge generation. It has AVX support (256-bit SIMD). I'll do some research to see what I can do, because I can't acquire new hardware for now.
kirelagin commentedon Apr 25, 2026
I think “Illegal Instruction” (i.e. SIGILL) on macOS does not necessarily mean that it is an unsupported CPU instruction, it could also be a system library incompatibility. Nixpkgs does not build
bunitself, it just pulls pre-compiled binaries from the upstream, so it might be that those binaries require a newer macOS than what you have.kirelagin commentedon Apr 25, 2026
That’s actually oven-sh/bun#26872.
ghaif commentedon Apr 29, 2026
same issue in nixos, and it has been for a while
alain-san commentedon May 28, 2026
same issue in nixos
github-actions commentedon Jul 28, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.