[PR #12842] fix(nix): restore install script in fileset for desktop build #14397

Closed
opened 2026-02-16 18:19:11 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12842

State: closed
Merged: Yes


Fixes regression introduced in #12818.

Closes #12817
Closes #12811

Summary

  • Restores ../install to the nix fileset in node_modules.nix
  • The desktop build requires this file as cli.rs uses include_str!("../../../../install")

Verification

The error reported in https://github.com/anomalyco/opencode/pull/12818#issuecomment-3872760241:

error: couldn't read `src/../../../../install`: No such file or directory (os error 2)
  --> src/cli.rs:56:30
   |
56 | const INSTALL_SCRIPT: &str = include_str!("../../../../install");
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12842 **State:** closed **Merged:** Yes --- Fixes regression introduced in #12818. Closes #12817 Closes #12811 ## Summary - Restores `../install` to the nix fileset in `node_modules.nix` - The desktop build requires this file as `cli.rs` uses `include_str!("../../../../install")` ## Verification The error reported in https://github.com/anomalyco/opencode/pull/12818#issuecomment-3872760241: ``` error: couldn't read `src/../../../../install`: No such file or directory (os error 2) --> src/cli.rs:56:30 | 56 | const INSTALL_SCRIPT: &str = include_str!("../../../../install"); ```
yindo added the pull-request label 2026-02-16 18:19:11 -05:00
yindo closed this issue 2026-02-16 18:19:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14397