Skip to content

Commit 41afb50

Browse files
authored
vimPlugins.mini-nvim: reduce closure size (#380862)
2 parents 3fb19cc + 3f50bc0 commit 41afb50

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/applications/editors/vim/plugins/overrides.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,13 @@ in
17611761
dependencies = [ self.plenary-nvim ];
17621762
};
17631763

1764+
mini-nvim = super.mini-nvim.overrideAttrs {
1765+
# reduce closure size
1766+
postInstall = ''
1767+
rm -rf $out/{Makefile,benchmarks,readmes,tests,scripts}
1768+
'';
1769+
};
1770+
17641771
git-conflict-nvim = super.git-conflict-nvim.overrideAttrs {
17651772
# TODO: Remove after next fixed version
17661773
# https://github.com/akinsho/git-conflict.nvim/issues/103

0 commit comments

Comments
 (0)