-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
mise install terraform requires asdf binary #2296
Comments
Can you provide some more information like the output of ❯ mise install terraform
mise plugin:terraform ✓ https://github.com/asdf-community/asdf-hashicorp.git#f1602b6
mise terraform@1.8.5 ✓ installed
❯ mise shell terraform@1.8.5
❯ terraform --version
Terraform v1.8.5
on darwin_arm64 If you should use other binaries than mise plugin install consul https://github.com/asdf-community/asdf-hashicorp.git
...
mise plugin install vault https://github.com/asdf-community/asdf-hashicorp.git |
it's possible "fake-asdf" is not being setup correctly anymore on new setups since I think I saw mention from someone else about a similar thing, it might work for you @roele since you already have it setup |
Did not realize that this is not setup anymore nowadays. As a workaround i assume this can be done manually. echo '#!/bin/sh
mise asdf "$@"
' >> ~/.local/share/mise/.fake-asdf/asdf According to the code this gets setup as part of the shims and a |
well it should be still working, but given this ticket and another message I saw I think it's possible something may have broke but I haven't verified |
Describe the bug
When installing terraform using mise, the plugin requires the existence of the asdf binary for some part of its operation.
To Reproduce
mise install terraform
Expected behavior
It should run without the asdf binary existing
Additional context
Its not really a mise bug as such, its the asdf plugin expecting the asdf binary to exist for some part of its script to execute. Not sure if mise should shim asdf somehow to support or whether an issue/mr needs to happen upstream.
The text was updated successfully, but these errors were encountered: