Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (26.11)
Steps to reproduce
Build opencode. There will be a hash mismatch when building the node_modules dependencies.
nixpkgs/pkgs/by-name/op/opencode/package.nix
Lines 81 to 82 in 4bbbb01
| if stdenv.hostPlatform.isLinux then | |
| "sha256-prx9dX7kUvs/E3zopkaPk5LXh3xJAy5sZeum/W8L7cA=" |
Can Hydra reproduce this build failure?
Hydra is currently rebuilding this package.
Link to Hydra build job
Relevant log output
error: hash mismatch in fixed-output derivation '/nix/store/kfdz406fa44wmh8bgiq2d7nnbxa19f0f-opencode-node_modules-2.2.5.drv':
specified: sha256-xfOVcw1+waLVNhFDwzOtzxrUSQEogvn88YomydOlhwc=
got: sha256-prx9dX7kUvs/E3zopkaPk5LXh3xJAy5sZeum/W8L7cA=
error: Cannot build '/nix/store/3yj9jzx7j7rgphgw3vfgb4llhiv8i5yc-opencode-2.2.5.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/lill1ifri3qm4dr928zw1gc3rwh7v8hz-opencode-2.2.5Additional context
Previously it was reported in issue #582673 but it can still be reproduced on x86_64-linux. Also see this comment.
System metadata
- system:
"x86_64-linux" - host os:
Linux 7.3.0, NixOS, 26.11 (Zokor), 26.11.20261023.3ec6363 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.9 - channels(root):
"nixos" - nixpkgs:
/nix/store/6nwzgfvznah5rg192x0hnl5ykchdgi59-source
Notify maintainers
@delafthi @DuskyElf @graham33 @xiaoxiangmoe
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
delafthi commentedon Nov 5, 2026
Fixed with #582675
[all] Bump nixpkgs-apps past opencode's hash break; fix codex, hold h…