Skip to content

fix(nix): remove stale packages/shared filter#24930

Open
jerome-benoit wants to merge 8 commits intoanomalyco:devfrom
jerome-benoit:fix/nix-core-filter
Open

fix(nix): remove stale packages/shared filter#24930
jerome-benoit wants to merge 8 commits intoanomalyco:devfrom
jerome-benoit:fix/nix-core-filter

Conversation

@jerome-benoit
Copy link
Copy Markdown
Contributor

@jerome-benoit jerome-benoit commented Apr 29, 2026

Issue for this PR

Closes #24929

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Removes the stale --filter './packages/shared' from nix/node_modules.nix.

packages/shared was renamed to packages/core in #24309 but the filter was left behind. It's inert — bun silently ignores filters for nonexistent packages, and the nix build has been passing since the rename because core's deps are hoisted through packages/opencode.

How did you verify your code works?

  • Nix builds have been passing for 4 days without a valid filter for core/shared
  • Confirmed bun silently ignores nonexistent workspace filters
  • Removing the dead filter doesn't change behavior

Screenshots / recordings

N/A — cleanup, no UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

The filter for packages/shared has been inert since the rename to
packages/core (anomalyco#24309). Nix builds pass without it — core deps are
resolved via hoisting from packages/opencode.

Fixes anomalyco#24929
@jerome-benoit jerome-benoit changed the title fix(nix): update filter from packages/shared to packages/core fix(nix): remove stale packages/shared filter Apr 29, 2026
Copilot AI review requested due to automatic review settings April 30, 2026 06:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes a stale Bun workspace filter in the Nix node_modules derivation after the packages/sharedpackages/core rename, keeping the Nix build configuration aligned with the current workspace layout.

Changes:

  • Delete the inert --filter './packages/shared' entry from nix/node_modules.nix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nix: remove stale packages/shared filter from node_modules.nix

2 participants