Making JetBrains Rider work with Nix and devenv

A few weeks (even months) ago I had a problem that made JetBrains Rider stop working properly on my environment. I figured out that the problem was due the way devenv1 sets up the environment.

Using the dotnet module on devenv is trivial, you just need to enable it:

  languages.dotnet.enable = true;

This will set the $DOTNET_ROOT environment variable with the root path of your chosen .NET SDK. In this case, you need to set the following options on Rider:

  1. Fun fact: I introduced the dotnet module on devenv! ↩︎