Skip to content

Commit

Permalink
refactor(home/pkgs/development/rust): use complete rust toolchain, ls…
Browse files Browse the repository at this point in the history
…p inclusive
  • Loading branch information
piyoki committed Sep 22, 2024
1 parent 01dce63 commit 29bc2b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions home/packages/development/language/rust/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

{
home.packages = with inputs.rust-nightly-overlay.packages.${system}.latest; [
cargo # Downloads your Rust project's dependencies and builds your project
rustc # Safe, concurrent, practical language (wrapper script)
rustfmt # Tool for formatting Rust code according to style guidelines
toolchain # derivation with all the Rust components; including rust-analyzer (LSP)
];
}
3 changes: 1 addition & 2 deletions home/packages/development/lsp/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ inputs, pkgs, system, ... }:
{ pkgs, ... }:

# Reference
# https://github.com/ryan4yin/nix-config/blob/main/home/base/tui/editors/neovim/nvim/lua/plugins/mason.lua
Expand All @@ -15,7 +15,6 @@
docker-ls # Dockerfile language server
emmet-ls # Emmet support based on LSP
gopls # Official language server for the Go language
inputs.rust-nightly-overlay.packages.${system}.latest.rust-analyzer # Modular compiler frontend for the Rust language
jdt-language-server # Java language server
lua-language-server # Lua language server
marksman # Language Server for Markdown
Expand Down

0 comments on commit 29bc2b9

Please sign in to comment.