Skip to content

Commit 3f50bc0

Browse files
committed
vimPlugins.mini-nvim: reduce closure size
Before: ``` $ du -csh result/* 36K result/CHANGELOG.md 8.0K result/CODE_OF_CONDUCT.md 16K result/CONTRIBUTING.md 4.0K result/LICENSE 16K result/MAINTAINING.md 4.0K result/Makefile 20K result/README.md 36K result/TESTING.md 56K result/benchmarks 12K result/colors 1.1M result/doc 4.0K result/logo.png 2.4M result/lua 416K result/readmes 52K result/scripts 11M result/tests 15M total ``` After: ``` $ du -csh result/* 36K result/CHANGELOG.md 8.0K result/CODE_OF_CONDUCT.md 16K result/CONTRIBUTING.md 4.0K result/LICENSE 16K result/MAINTAINING.md 20K result/README.md 36K result/TESTING.md 12K result/colors 1.1M result/doc 4.0K result/logo.png 2.4M result/lua 3.6M total ```
1 parent f780db4 commit 3f50bc0

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)