Skip to content

fix: add symlinks for sidecar binaries in Nix flake#49

Merged
robcohen merged 1 commit intomainfrom
fix/flake-sidecar-symlinks
Jan 26, 2026
Merged

fix: add symlinks for sidecar binaries in Nix flake#49
robcohen merged 1 commit intomainfrom
fix/flake-sidecar-symlinks

Conversation

@robcohen
Copy link
Copy Markdown
Member

Summary

  • Add symlinks without target triple suffix for PATH lookup
  • Add rustfava -> rustfava-server symlink for backwards compatibility with v0.1.2
  • Update main.rs fallback to use rustfava-server directly (for future releases)

Problem

nix run github:rustledger/rustfava#desktop failed because:

  1. Tauri sidecar lookup fails outside bundle structure
  2. Fallback looked for rustfava which didn't exist

Test

nix run .#desktop

Now launches the app (though there's a separate internal server error to investigate).

🤖 Generated with Claude Code

The desktop app's sidecar lookup fails when running via nix flake,
falling back to PATH lookup. This adds:

1. Symlinks without target triple suffix (e.g., rustfava-server)
2. rustfava -> rustfava-server symlink for backwards compatibility

Also updates main.rs fallback to use rustfava-server directly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@robcohen robcohen force-pushed the fix/flake-sidecar-symlinks branch from aac6d67 to 22f8aad Compare January 26, 2026 22:55
@robcohen robcohen merged commit 78db3d8 into main Jan 26, 2026
23 checks passed
@robcohen robcohen deleted the fix/flake-sidecar-symlinks branch January 26, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant