Open kubukoz opened 1 month ago
it looks like it's indeed Coursier's problem not scala-cli's, but since ScalaCli shows up in the error + the problem is caused by a mutation from scala-cli, I figured I'd report here first - feel free to transfer if needed
Version(s)
1.4.0, from Nixpkgs.
Describe the bug
When I set
repository.credentials
, I'm unable to launch Metals. Actually, launching anything through Coursier fails.To Reproduce
scala-cli --power config repositories.credentials example.com value:user value:pass
E.g. in vscode:
Alternatively, in step 2 run
cs launch stc
. It hangs, and when interrupted with ctrl+c it prints:My coursier CLI is at
2.1.10
, from Nixpkgs.Interestingly, scala-cli actually uses the credentials just fine.
Expected behaviour
No impact of setting scala-cli credentials in Coursier/Metals.