Skip to content

Commit

Permalink
overlays/csharp-ls: Dont use dotnet from env
Browse files Browse the repository at this point in the history
LSP has a specific dotnet version it needs... use the latest dotnet 8
pkg for it to avoid workspace conflicts.
  • Loading branch information
khaneliman committed May 17, 2024
1 parent 5529cb3 commit ee7386b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/home/programs/terminal/editors/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ in
config = mkIf cfg.enable {
home = {
sessionVariables = {
# TODO: why was this set ?
# DOTNET_ROOT = "${pkgs.dotnet-sdk_8}";
EDITOR = mkIf cfg.default "nvim";
};
};
Expand Down
5 changes: 5 additions & 0 deletions overlays/csharp-ls/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_: _final: prev: {
csharp-ls = prev.csharp-ls.overrideAttrs (_oldAttrs: rec {
useDotnetFromEnv = false;
});
}

0 comments on commit ee7386b

Please sign in to comment.