Description
nix build fails after the shared package filter fix (#22657 / #22665) because packages/shared/src/util/glob.ts imports glob but it is not listed in packages/shared/package.json dependencies.
In normal dev, this works via hoisting from packages/opencode. In the nix sandbox with --filter, shared's own dependencies must be explicit.
Cannot find package "glob" imported from /build/source/packages/shared/src/util/glob.ts
OpenCode version
v1.4.6 (dev branch, post #22665 merge)
Steps to reproduce
nix build github:anomalyco/opencode
Operating System
NixOS / any nix user
Terminal
N/A — build-time failure
Description
nix buildfails after the shared package filter fix (#22657 / #22665) becausepackages/shared/src/util/glob.tsimportsglobbut it is not listed inpackages/shared/package.jsondependencies.In normal dev, this works via hoisting from
packages/opencode. In the nix sandbox with--filter, shared's own dependencies must be explicit.OpenCode version
v1.4.6 (dev branch, post #22665 merge)
Steps to reproduce
Operating System
NixOS / any nix user
Terminal
N/A — build-time failure