Skip to content

Conversation

@robcohen
Copy link
Member

Summary

  • The "Open Example Beancount" button fails with "Example file not found" when running via nix run
  • Add fallback path resolution relative to the executable (../lib/rustfava/resources/example.beancount)
  • Nix tarball layout places the file at lib/rustfava/resources/ while the binary is at bin/

Test plan

  • nix run github:rustledger/rustfava#desktop --refresh → Open Example Beancount button works

🤖 Generated with Claude Code

Add fallback path resolution relative to the executable for Nix
installs where the layout is bin/rustfava-desktop alongside
lib/rustfava/resources/example.beancount.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@robcohen robcohen enabled auto-merge (squash) January 28, 2026 23:19
@robcohen robcohen merged commit 0504bea into main Jan 28, 2026
23 checks passed
@robcohen robcohen deleted the fix/example-file-nix branch January 28, 2026 23:19
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.

2 participants