Mise fails to install nested Go tools #3822
Replies: 2 comments
-
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 breaking NOTE: I'm not a maintainer; just giving my two cents 😅 |
Beta Was this translation helpful? Give feedback.
-
I'm seeing something similar when updating
I think the two bottom warnings are happening for different reasons, so I'll report them separately. |
Beta Was this translation helpful? Give feedback.
-
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 doctor
outputBeta Was this translation helpful? Give feedback.
All reactions