From 2a99a1cb162d2be4f59d65a0263a07b1ee8e6c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 9 Feb 2026 13:14:32 +0100 Subject: [PATCH] fix(nix): watch scripts and patches in nix-hashes workflow nix/scripts/*.ts and patches/* are included in node_modules derivation. Changes to these files invalidate hashes but didn't trigger rebuild. Also removes non-existent install/ from node_modules.nix fileset. Fixes #12817 --- .github/workflows/nix-hashes.yml | 3 +++ nix/node_modules.nix | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nix-hashes.yml b/.github/workflows/nix-hashes.yml index 5446f9212fba..894dbf47b1ea 100644 --- a/.github/workflows/nix-hashes.yml +++ b/.github/workflows/nix-hashes.yml @@ -12,6 +12,9 @@ on: - "package.json" - "packages/*/package.json" - "flake.lock" + - "nix/node_modules.nix" + - "nix/scripts/**" + - "patches/**" - ".github/workflows/nix-hashes.yml" jobs: diff --git a/nix/node_modules.nix b/nix/node_modules.nix index 836ef02a56e5..73cc6d4428d8 100644 --- a/nix/node_modules.nix +++ b/nix/node_modules.nix @@ -30,7 +30,6 @@ stdenvNoCC.mkDerivation { ../bun.lock ../package.json ../patches - ../install ] ); };