From b12b098b381d32f61bbd54e4a38e2b481c6678b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 27 Feb 2026 22:28:30 +0100 Subject: [PATCH 1/2] fix(nix): include .github/TEAM_MEMBERS in fileset After #15369, the build script reads `.github/TEAM_MEMBERS` at build time, but this file was not included in the Nix source fileset. Also add the file to nix-hashes.yml paths trigger so hash regeneration is triggered when the file changes. Fixes #15400 --- .github/workflows/nix-hashes.yml | 1 + nix/node_modules.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/nix-hashes.yml b/.github/workflows/nix-hashes.yml index 2529c14c208..aecc0fea1b3 100644 --- a/.github/workflows/nix-hashes.yml +++ b/.github/workflows/nix-hashes.yml @@ -16,6 +16,7 @@ on: - "nix/scripts/**" - "patches/**" - ".github/workflows/nix-hashes.yml" + - ".github/TEAM_MEMBERS" jobs: # Native runners required: bun install cross-compilation flags (--os/--cpu) diff --git a/nix/node_modules.nix b/nix/node_modules.nix index e918846c244..6c188c07cf7 100644 --- a/nix/node_modules.nix +++ b/nix/node_modules.nix @@ -31,6 +31,7 @@ stdenvNoCC.mkDerivation { ../package.json ../patches ../install # required by desktop build (cli.rs include_str!) + ../.github/TEAM_MEMBERS # required by @opencode-ai/script ] ); }; From 6bbaea4fa6599c883e9074a8a575033a10ed3b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 27 Feb 2026 22:39:16 +0100 Subject: [PATCH 2/2] fix(nix): revert nix-hashes.yml change TEAM_MEMBERS is not read during bun install phase, so it doesn't affect node_modules hash. Only the fileset change is needed. --- .github/workflows/nix-hashes.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/nix-hashes.yml b/.github/workflows/nix-hashes.yml index aecc0fea1b3..2529c14c208 100644 --- a/.github/workflows/nix-hashes.yml +++ b/.github/workflows/nix-hashes.yml @@ -16,7 +16,6 @@ on: - "nix/scripts/**" - "patches/**" - ".github/workflows/nix-hashes.yml" - - ".github/TEAM_MEMBERS" jobs: # Native runners required: bun install cross-compilation flags (--os/--cpu)