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

investigate mise ls with rust active flag #3860

Closed
jdx opened this issue Dec 29, 2024 · 0 comments · Fixed by #3907
Closed

investigate mise ls with rust active flag #3860

jdx opened this issue Dec 29, 2024 · 0 comments · Fixed by #3907

Comments

@jdx
Copy link
Owner

jdx commented Dec 29, 2024

from @hverlin in discord:

Quick question: if using rust with mise, what's the expected value for active?

dev@ubuntu2:~/Documents/rust-project$ mise ls --current
Tool       Version           Source                              Requested 
node       23.5.0            ~/Documents/rust-project/mise.toml  latest
rust       1.83.0 (symlink)  ~/Documents/rust-project/mise.toml  latest

Currently, it will show active: false. I would expect it to be true.
Is this the expected behavior for symlinked tools?

dev@ubuntu2:~/Documents/rust-project$ mise ls --json | jq .rust
[
  {
    "version": "1.83.0",
    "requested_version": "latest",
    "install_path": "/home/dev/.local/share/mise/installs/rust/1.83.0",
    "source": {
      "type": "mise.toml",
      "path": "/home/dev/Documents/rust-project/mise.toml"
    },
    "symlinked_to": "/home/dev/.local/share/mise/installs/rust/1.83.0",
    "installed": true,
    "active": false
  }
]
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

Successfully merging a pull request may close this issue.

1 participant