Move all editor runtime deps into package editor-runtime

This commit is contained in:
ulic-youthlic 2025-06-09 15:30:31 +08:00
parent da2860fa15
commit 6a3473813d
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
6 changed files with 89 additions and 71 deletions

View file

@ -19,6 +19,7 @@ in
wshowkeys-mao = callPackage ./wshowkeys-mao.nix {};
OuterWildsTextAdventure = callPackage ./OuterWildsTextAdventure.nix {};
QQ = callPackage ./QQ.nix {};
editor-runtime = callPackage ./editor-runtime.nix {};
noto-serif-cjk = callPackage ./noto-serif-cjk.nix {};
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};

80
pkgs/editor-runtime.nix Normal file
View file

@ -0,0 +1,80 @@
{
symlinkJoin,
nixfmt-rfc-style,
idris2Packages,
lua-language-server,
bash-language-server,
shfmt,
hurl,
cmake-language-server,
kdlfmt,
rustfmt,
clang-tools,
libxml2,
typstyle,
pyright,
ruff,
gotools,
yaml-language-server,
taplo,
markdown-oxide,
marksman,
nixd,
deno,
alejandra,
vscode-langservers-extracted,
fish-lsp,
tailwindcss-language-server,
gopls,
golangci-lint-langserver,
tinymist,
delve,
lldb,
rust-analyzer,
# nil,
haskell-language-server,
neocmakelsp,
jdt-language-server,
zls,
}:
symlinkJoin {
name = "editor-runtime";
paths = [
nixfmt-rfc-style
idris2Packages.idris2Lsp
lua-language-server
bash-language-server
shfmt
hurl
cmake-language-server
kdlfmt
rustfmt
clang-tools
libxml2
typstyle
pyright
ruff
gotools
yaml-language-server
taplo
markdown-oxide
marksman
nixd
deno
alejandra
vscode-langservers-extracted
fish-lsp
tailwindcss-language-server
gopls
golangci-lint-langserver
tinymist
delve
lldb
rust-analyzer
# nil
haskell-language-server
neocmakelsp
jdt-language-server
zls
];
}