Desktop build on nixos #6527

Closed
opened 2026-02-16 18:04:28 -05:00 by yindo · 1 comment
Owner

Originally created by @gigamonster256 on GitHub (Jan 16, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

cannot make initial ipc request to ipc://localhost/plugin%3Anotification%7Cis_permission_granted when desktop app is built with nix, succeeds when run in dev - seems to be since in dev, the Origin header is http://localhost:1420 but when built, it is null

seems to be related to
https://github.com/tauri-apps/tauri/issues/11504
https://github.com/tauri-apps/tauri/issues/9454

Plugins

No response

OpenCode version

HEAD

Steps to reproduce

nix run github:anomalyco/opencode/dev#desktop

Screenshot and/or share link

Image Image

Operating System

Nixos 26.05 (unstable)

Terminal

Ghostty

Originally created by @gigamonster256 on GitHub (Jan 16, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description cannot make initial ipc request to ipc://localhost/plugin%3Anotification%7Cis_permission_granted when desktop app is built with nix, succeeds when run in dev - seems to be since in dev, the Origin header is http://localhost:1420 but when built, it is null seems to be related to https://github.com/tauri-apps/tauri/issues/11504 https://github.com/tauri-apps/tauri/issues/9454 ### Plugins _No response_ ### OpenCode version HEAD ### Steps to reproduce nix run github:anomalyco/opencode/dev#desktop ### Screenshot and/or share link <img width="549" height="352" alt="Image" src="https://github.com/user-attachments/assets/7880d398-48b3-4d54-8c9f-3ef7f8861f9d" /> <img width="549" height="352" alt="Image" src="https://github.com/user-attachments/assets/cc92c3a4-d975-414e-8689-b6a5c915681e" /> ### Operating System Nixos 26.05 (unstable) ### Terminal Ghostty
yindo added the bugwebnix labels 2026-02-16 18:04:28 -05:00
yindo closed this issue 2026-02-16 18:04:28 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2026):

After searching through existing issues, I did not find any clear duplicates of this issue. The problem appears to be specific to the nix build where the Origin header becomes null during IPC requests, which is distinct from the other desktop/Tauri-related issues in the repository.

@github-actions[bot] commented on GitHub (Jan 16, 2026): After searching through existing issues, I did not find any clear duplicates of this issue. The problem appears to be specific to the nix build where the Origin header becomes null during IPC requests, which is distinct from the other desktop/Tauri-related issues in the repository.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6527