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

elan toolchain list refuses to list any toolchains #139

Open
eric-wieser opened this issue Oct 24, 2024 · 0 comments
Open

elan toolchain list refuses to list any toolchains #139

eric-wieser opened this issue Oct 24, 2024 · 0 comments

Comments

@eric-wieser
Copy link

eric-wieser commented Oct 24, 2024

See this shell session:

$ elan toolchain list
leanprover/lean4:v4.13.0-rc3
leanprover/lean4:v4.8.0-rc2
$ elan toolchain link oh--no--anyway ~/.elan/toolchains/leanprover--lean4---v4.13.0-rc3/
$ elan toolchain list
error: invalid toolchain name: 'oh/no/anyway'

Some motivation for this weird elan toolchain link command; I need a way to smuggle arbitrary paths into toolchain names, and was previously encoding path/to/my/toolchain as path--to--my--toolchain, since / characters are not legal.

This all works correctly when actually running lean and lake, but elan toolchain list fails.

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

1 participant