refactor: resolve some nixd warnings

This commit is contained in:
Nydragon 2024-06-15 00:43:50 +09:00
parent 4e384657c6
commit 4c50999fc5
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209

View file

@ -7,45 +7,43 @@
enable = true;
withPython3 = false;
withRuby = false;
extraPackages =
let
customR = pkgs.rWrapper.override {
packages = with pkgs.rPackages; [
styler
languageserver
];
};
in
with pkgs;
[
# Language Servers
rust-analyzer
nixd
pyright
nodePackages_latest.bash-language-server
lua-language-server
zls
#rPackages.languageserver
extraPackages = with pkgs; [
# Language Servers
rust-analyzer
nixd
pyright
nodePackages_latest.bash-language-server
lua-language-server
zls
#rPackages.languageserver
# Formatter
python311Packages.black # Python formatter
#rPackages.styler # R formatter
clang-tools
nodePackages_latest.prettier # JSON, JS, TS formatter
yamlfmt # YAML formatter
taplo # TOML formatter
rustfmt # Rust formatter
shfmt # Shell, Bash etc.
nixfmt-rfc-style
stylua
# Formatter
python311Packages.black # Python formatter
#rPackages.styler # R formatter
clang-tools
nodePackages_latest.prettier # JSON, JS, TS formatter
yamlfmt # YAML formatter
taplo # TOML formatter
rustfmt # Rust formatter
shfmt # Shell, Bash etc.
nixfmt-rfc-style
stylua
# Misc
ripgrep
rustc
cargo
# Misc
ripgrep
rustc
cargo
nodejs_22
clang
tree-sitter
# R
customR
];
# R
(rWrapper.override {
packages = with rPackages; [
styler
languageserver
];
})
];
};
}