Skip to content

nix-hashes workflow doesn't watch nix/scripts changes #12817

@jerome-benoit

Description

@jerome-benoit

The nix-hashes workflow only triggers on changes to bun.lock, package.json, packages/*/package.json, flake.lock, and the workflow file itself.

However, nix/node_modules.nix includes nix/scripts/*.ts and patches/* in the derivation. When these files change, the output hash changes, but the workflow doesn't re-run.

This causes hash mismatches when building locally after changes like #12694.

Fix:

  • Add nix/scripts/**, nix/node_modules.nix, and patches/** to the workflow paths trigger
  • Remove non-existent install/ from fileset

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions