Repository navigation
Mise fails to install nested Go tools #3822
Replies: 3 comments 1 reply
|
That's an interesting find! But, I think it still completed successfully, no? The main issue seems to do with the lack of versions for While You can verify this by running: $ go list -m -versions -json github.com/noperator/sol/cmd/sol
{
"Path": "github.com/noperator/sol/cmd/sol"
}versus a repo with version tags: $ go list -m -versions -json github.com/DarthSim/hivemind
{
"Path": "github.com/DarthSim/hivemind",
"Versions": [
"v1.0.1",
"v1.0.2",
"v1.0.3",
"v1.0.4",
"v1.0.5",
"v1.0.6",
"v1.1.0"
]
}So yeah, I think showing a warning is the correct thing to do here. The But the following works for me: $ mise x go:github.com/noperator/sol/cmd/sol@latest -- sol --help
Usage of sol:
-a arguments
-all
all
-b binary commands: &&, ||, |, |&
-c command substitution: $(), ``
-e inspect env to resolve command types
-f string
file
-j jq
-jqarr
arrays
-jqobj
objects
-jqop string
operators (comma-separated)
-l clauses: case, for, if, while
-o one line
-p process substitution: <(), >()
-r redirect: >, >>, <, <>, <&, >&, >|, <<, <<-, <<<, &>, &>>
-s shell strings: xargs, parallel
-v verbose
-w int
max line width before breakingNOTE: I'm not a maintainer; just giving my two cents 😅 |
|
I'm seeing something similar when updating I think the two bottom warnings are happening for different reasons, so I'll report them separately. |
|
This is fixed. 👍 (@eitamal diagnosed it correctly) For a repo with no version tags, Fixed by #9097 ("fix(go): honor install_before for module versions"), which makes the go backend fall back to the Go module proxy for version metadata and returns the latest pseudo-version when there are no tags. First released in v2026.4.14 (2026-04-15). I bisected it to confirm: v2026.4.12 still fails, v2026.4.14 works. Verified on the current release (
This comment was generated by an AI coding assistant. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Mise seems to sometimes(?) fail to install Go tools that are in subdirectory of the repository.
To Reproduce
Expected behavior
It works, like
go install.mise doctoroutputAll reactions