-
Notifications
You must be signed in to change notification settings - Fork 12
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
coursier #24
Comments
My editor finds If your editor isn't hooked into direnv, you would probably have to have a global metals install? You could probably do that with home-manager, but I think a global one would be outside the scope of a dev shell. |
I'm using |
@cquiroz did you find a solution? |
@vincenzobaz I don't use direnv, but I understand you need to add an |
My setup behaves like this: $ cd ~
$ which metals
metals not found
$ cd ~/src/http4s
direnv: loading ~/src/http4s/.envrc
direnv: using flake
🔨 Welcome to http4s
[general commands]
menu - prints this menu
metals - Work-in-progress language server for Scala
sbt - A build tool for Scala, Java and more
scala-cli - Command-line tool to interact with the Scala language
[versions]
Java - 8.0.292
Node - 18.15.0
direnv: export +C_INCLUDE_PATH +DEVSHELL_DIR +IN_NIX_SHELL +JAVA_HOME +LIBRARY_PATH +LLVM_BIN +NIXPKGS_PATH +PRJ_DATA_DIR +PRJ_ROOT +name -TMPDIR ~PATH ~XDG_DATA_DIRS
$ which metals
/nix/store/63xf0hwwwqysdk5cx1mzd0ng30y8g0j1-devshell-dir/bin/metals
And yes, every new project you need to do a |
I managed to get it working. Thank you both for the input |
Another newbie question.
In a new laptop using
typelevel-nix
I was able to build my code but to use metals I had to installcoursier
as an extra packageI'm not sure if it should be included here as it seems to be a one-time install. WDYT?
The text was updated successfully, but these errors were encountered: