Description
nix build .#desktop fails because the desktop Nix derivation still expects the old Tauri layout.
nix/desktop.nix references packages/desktop/src-tauri/Cargo.lock, but packages/desktop/src-tauri was removed when the desktop app was migrated/consolidated to Electron in #25822.
Current failure:
# nix build .#desktop
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'opencode-desktop-1.14.40+0b70270'
whose name attribute is located at /nix/store/pf1p2xxw896dpg8dhmgg6pw9hy6wd191-source/pkgs/stdenv/generic/make-derivation.nix:541:11
… while evaluating attribute 'cargoDeps' of derivation 'opencode-desktop-1.14.40+0b70270'
at /nix/store/pf1p2xxw896dpg8dhmgg6pw9hy6wd191-source/pkgs/build-support/rust/build-rust-package/default.nix:107:7:
106|
107| cargoDeps =
| ^
108| if cargoVendorDir != null then
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: path '/nix/store/jvkh72jmya94kh4i5w9fh1zpxrcdwbf8-source/packages/desktop/src-tauri/Cargo.lock' does not exist
Expected behavior: nix build .#desktop should build the current Electron desktop app, or the desktop flake output should be disabled until Electron packaging is supported.
Plugins
None
OpenCode version
HEAD (0b70270)
Steps to reproduce
- Try to build the desktop app with
nix build .#desktop
- Observe failure
Screenshot and/or share link
No response
Operating System
macOS 26.4.1
Terminal
Ghostty
Description
nix build .#desktopfails because the desktop Nix derivation still expects the old Tauri layout.nix/desktop.nixreferencespackages/desktop/src-tauri/Cargo.lock, butpackages/desktop/src-tauriwas removed when the desktop app was migrated/consolidated to Electron in #25822.Current failure:
Expected behavior: nix build .#desktop should build the current Electron desktop app, or the desktop flake output should be disabled until Electron packaging is supported.
Plugins
None
OpenCode version
HEAD (0b70270)
Steps to reproduce
nix build .#desktopScreenshot and/or share link
No response
Operating System
macOS 26.4.1
Terminal
Ghostty