cleanup bundle size

This commit is contained in:
cjurgell 2025-06-24 11:31:25 -05:00
parent 1a0651a896
commit 3231eec14e
2 changed files with 7 additions and 13 deletions

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
package_name: ["nvim", "nvim-min"] package_name: ["nvim-min"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main

View file

@ -22,7 +22,6 @@ with final.pkgs.lib; let
diffview-nvim diffview-nvim
eyeliner-nvim eyeliner-nvim
friendly-snippets friendly-snippets
fzf-vim
lazy-nvim lazy-nvim
mini-nvim-git mini-nvim-git
nightfox-nvim nightfox-nvim
@ -43,22 +42,20 @@ with final.pkgs.lib; let
ripgrep ripgrep
fd fd
]; ];
# Extra packages that should be included on nixos but don't need to be bundled
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# linters # linters
puppet-lint alejandra
yamllint yamllint
jq jq
alejandra hadolint
shellcheck
# LSPs # LSPs
gopls gopls
lua-language-server lua-language-server
nil nil
phpactor
basedpyright basedpyright
#other
jujutsu
]; ];
in { in {
nvim-pkg = mkNeovim { nvim-pkg = mkNeovim {
@ -72,11 +69,8 @@ in {
plugins = all-plugins; plugins = all-plugins;
appName = "nvim"; appName = "nvim";
extraPackages = basePackages; extraPackages = basePackages;
ignoreConfigRegexes = [ withSqlite = false;
".*lsp.lua" withPython3 = false;
".*debug.lua"
".*ai.lua"
];
}; };
# This is meant to be used within a devshell. # This is meant to be used within a devshell.