Replies: 1 comment 1 reply
-
Install ledger on your system via nix, then paisa will use that instead of its own embedded ledger. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I setup paisa service on my server a while ago, but just started using it. I see that a ledger binary is included and stored/executed from
~/.cache/paisa/ledger
. The problem is my OS of choice is NixOS and prebuilt binary does not work because the library paths in NixOS are nonstandard.The simplest and dumbest solution that I find currently working is simple
rm -rf ~/.cache/paisa/ledger && ln -s /etc/profiles/per-user/bhankas/bin/ledger ~/.cache/paisa/ledger
.However, this must be invoked after first exec ledger by paisa service. I added above command to
ExecStartPost=
of my systemd unit for paisa, it works, but on first exec the application replaces the binary again.Is there a way for me to configure ledger binary path permanently? For what its worth,
which ledger
returns the correct path, but this being NixOS its not from the usual list that paisa looks for.Beta Was this translation helpful? Give feedback.
All reactions