Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support specifying the LeanInk path #84

Open
utensil opened this issue Aug 1, 2022 · 1 comment
Open

Support specifying the LeanInk path #84

utensil opened this issue Aug 1, 2022 · 1 comment

Comments

@utensil
Copy link

utensil commented Aug 1, 2022

LeanInk is sensitive to Lean versions and expected to be installed locally, it's useful to support specifying the LeanInk path via a flag like --leanink= in such scenarios.

A similar flag (but as --ink) is present in https://github.com/leanprover/doc-gen4 to invoke LeanInk.

For more details, see the discussion here: leanprover/LeanInk#21 (comment) .

For implementation, it seems that somehow reusing binpath of CLIDriver could make it work, but it's not so easy to pass it to the driver in the current generic way to resolve the CLI driver.

@cpitclaudel
Copy link
Owner

That would be nice, and same for the driver path of the other drivers. Maybe we could add a --driver-executable flag or something similar?

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

No branches or pull requests

2 participants