Closed tesujimath closed 1 year ago
Hmm, weird that this would be required, actually.
Without this, on opening my ledger file I get
File mode specification error: (error ‘ledger-binary-path’ (value: ledger) is not executable)
Whereas with this, all is well and flymake (I think) can find ledger. :shrug:
Thanks, I can reproduce this. What's happening here is that ledger-mode
invokes the executable before any mode hooks run, and ultimately mode hooks are what cause the local environment to be established by envrc. I believe I've fixed this by instead setting ledger-mode-should-check-version
.
Yes, that works, thanks!
Not completely sure if this is the right place for this, but it works for me, enabling the ledger binary to be found via direnv and shell.nix, locally.