… flake.lock
nixpkgs bumped bun from 1.4.2 to 1.4.4 (NixOS/nixpkgs#577354) a few hours
after opencode 2.2.5 landed with a node_modules hash computed under bun
1.4.2 (NixOS/nixpkgs#581607). bun 1.4.4's `bun install` filters optional
dependencies by the host libc, so the installed tree now differs between
Linux and Darwin and the single upstream hash matches neither
(NixOS/nixpkgs#582673). cache.nixos.org has no opencode 2.2.5 for any
platform, so home-manager switch rebuilds it locally and fails on the
mismatch.
Override the FOD hash per platform. The Darwin value comes from a local
build on this machine; the Linux value is the one reproduced in
NixOS/nixpkgs#582673 and used by PR #582675, not verified here. Drop the
overlay once nixpkgs ships a fix (#582675 or a follow-up).
Description of changes
Version bump for opencode, 2.2.1 -> 2.2.5 (upstream: https://github.com/anomalyco/opencode).
Generated with
nix-update; updated both the source hash and thenode_modulesfixed-output derivation hash.Things done
nix-build -A opencodeopencode --versionreports2.2.5