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
For the moment, try nix run sst/opencode. I'm having the same problem, but run builds it correctly (for me), which then allows the flake to use the already-build nix store.
which platform? for me it works on amd64-linux, fails on aarch64-linux.
x86_64-linux
For the moment, try nix run sst/opencode. I'm having the same problem, but run builds it correctly (for me), which then allows the flake to use the already-build nix store.
Did the hash update work with 1.0.80? Having issues where when I upgrade to 1.0.80, can't launch opencode anymore or even run opencode --version outputs nothing. 1.0.78 works perfectly though.
Did the hash update work with 1.0.80? Having issues where when I upgrade to 1.0.80, can't launch opencode anymore or even run opencode --version outputs nothing. 1.0.78 works perfectly though.
yes for me it worked. Are you on x86_64-linux?
It's important to use the nixpkgs that they ship, so in your flake: inputs.opencode.url = "github:sst/opencode"; with no follows. Then you can ensure you have the same node_modules.
If you'd like, I can reopen the issue if you're still having the hash mismatch.
No I am on aarch64-darwin, and yeah I am not using follow nixpkgs. I should also be able to just run the flake as standalone and that doesn't seem to work either.
I am not sure if it is a hash issue, don't see any error message.
Activity
ndrwstn commentedon Nov 19, 2025
For the moment, try
nix run sst/opencode. I'm having the same problem, but run builds it correctly (for me), which then allows the flake to use the already-build nix store.bogorad commentedon Nov 19, 2025
which platform? for me it works on
amd64-linux, fails onaarch64-linux.Cody-W-Tucker commentedon Nov 19, 2025
x86_64-linux
I'll try that and update here
bogorad commentedon Nov 19, 2025
just in case, my config:
in inputs (does not follow packages):
opencode-flake.url = "github:sst/opencode";then, in host config (not in home-manager):
Cody-W-Tucker commentedon Nov 20, 2025
Rebuilt with the new hashes provided by #4535 and worked with no issues.
Thanks @Alb-O
aashish2057 commentedon Nov 20, 2025
Did the hash update work with 1.0.80? Having issues where when I upgrade to 1.0.80, can't launch opencode anymore or even run opencode --version outputs nothing. 1.0.78 works perfectly though.
aashish2057 commentedon Nov 20, 2025
Have same issue if I just run
nix run github:sst/opencodeCody-W-Tucker commentedon Nov 20, 2025
yes for me it worked. Are you on x86_64-linux?
It's important to use the nixpkgs that they ship, so in your flake:
inputs.opencode.url = "github:sst/opencode";with no follows. Then you can ensure you have the same node_modules.If you'd like, I can reopen the issue if you're still having the hash mismatch.
aashish2057 commentedon Nov 20, 2025
No I am on aarch64-darwin, and yeah I am not using follow nixpkgs. I should also be able to just run the flake as standalone and that doesn't seem to work either.
I am not sure if it is a hash issue, don't see any error message.
bogorad commentedon Nov 20, 2025
try
nix run github:sst/opencode --refresh -Lbogorad commentedon Nov 20, 2025
I just checked after the version bump to .81 - both amd64 and aarch64 rebuilt with no errors.
aashish2057 commentedon Nov 20, 2025
This should put me in the TUI right? It doesn't nothing happens after this?
aashish2057 commentedon Nov 20, 2025
nix run github:sst/opencode/v1.0.78runs fine for mebogorad commentedon Nov 20, 2025
just tried it with the current (1.0.81) version on amd64 and aarch64 - works.
aashish2057 commentedon Nov 20, 2025
darwin or linux?
bogorad commentedon Nov 20, 2025
Linux (nixos, in Qemu, and in WSL2).
aashish2057 commentedon Nov 20, 2025
Yeah its probably a darwin issue
Cody-W-Tucker commentedon Nov 21, 2025
@aashish2057 see #4575 seems like a bun issue with nix on darwin.