Skip to content

Commit afcd295

Browse files
committed
packages simplification
1 parent 5c87b92 commit afcd295

File tree

2 files changed

+13
-30
lines changed

2 files changed

+13
-30
lines changed

flake.nix

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,38 +43,9 @@
4343
++ plugins.runtimePaths;
4444
extraVars = plugins.extraVars;
4545
};
46-
47-
individualPackages = with pkgs; {
48-
inherit
49-
bash-language-server
50-
black
51-
lua
52-
luarocks
53-
nodejs
54-
nvim
55-
python3
56-
ruff
57-
shellcheck
58-
shfmt
59-
stylua
60-
topiary
61-
vscode-js-debug
62-
vtsls
63-
;
64-
inherit (nodePackages) vscode-json-languageserver;
65-
inherit (python312Packages) pip;
66-
};
6746
in {
6847
formatter = pkgs.alejandra;
69-
70-
packages =
71-
individualPackages
72-
// {
73-
default = pkgs.buildEnv {
74-
name = "xvim packages";
75-
paths = builtins.attrValues individualPackages;
76-
};
77-
};
48+
packages.default = nvim;
7849

7950
devShells.default = pkgs.devshell.mkShell {
8051
imports = [(pkgs.devshell.importTOML ./devshell.toml)];

nix/wrapper.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,32 @@
2727
topiary-nu = pkgs.topiary-nu;
2828
extraPackages = with pkgs; [
2929
alejandra
30+
bash-language-server
3031
black
3132
cue
3233
dockerfile-language-server-nodejs
3334
lldb
35+
lua
3436
lua-language-server
3537
marksman
3638
nixd
3739
nodePackages.bash-language-server
3840
nodePackages.prettier
3941
nodePackages.vscode-json-languageserver
42+
nodejs
4043
pyright
44+
python3
45+
python312Packages.pip
46+
ruff
4147
shellcheck
48+
shellcheck
49+
shfmt
4250
shfmt
51+
stylua
52+
topiary
4353
vscode-extensions.vadimcn.vscode-lldb.adapter
54+
vscode-js-debug
55+
vtsls
4456
yaml-language-server
4557
];
4658

0 commit comments

Comments
 (0)