nix-community.nixvim/tests/test-sources/modules
Stanislav Asunkin 65d35db5ca modules/performance: fix specifying combinePlugin.standalonePlugins as packages when byte compilation enabled
Previously, specifying plugins as packages in the
`performance.combinePlugins.standalonePlugins` option did not work when
the `performance.byteCompileLua` option was also enabled. This issue was
due to several package transformations performed by the
`byteCompileLua` which broke package comparison.

There are at least three methods to fix the issue:

- Change transformation order: combine plugins first, then byte-compile
  them.
- Compare every possible transformation when determining if plugins are
  standalone.
- Get the name of the package and use it for comparison.

The first method did not work because the current `byteCompileLuaDrv`
implementation does not support symlinks to directories. The second
method appears too fragile. This commit implements the third method, as
it requires minimal code changes and is straightforward. The downside is
that it might exclude multiple packages with the same name, although
this should be rare.
2025-06-02 18:15:32 +03:00
..
performance modules/performance: fix specifying combinePlugin.standalonePlugins as packages when byte compilation enabled 2025-06-02 18:15:32 +03:00
autocmd.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
clipboard.nix tests/modules/clipboard: add raw lua code test 2024-11-15 18:40:10 +00:00
commands.nix modules/commands: allow commands to be raw lua 2024-05-21 14:27:49 +02:00
dependencies.nix plugins/claude-code: don't test on darwin 2025-05-08 10:51:26 +02:00
diagnostics.nix modules/diagnostic: rename diagnostic.config -> diagnostic.settings 2025-04-30 18:31:17 +01:00
editorconfig.nix editorconfig: Migrate to builtin plugin (#335) 2023-04-15 15:21:25 +02:00
extra-files.nix modules: refactor extraFiles 2024-07-07 16:42:47 +01:00
files.nix modules/files: fix creating configs of vim type 2024-07-19 14:45:34 +03:00
filetypes.nix tests: remove special treatment of module 2024-08-20 01:07:21 +01:00
highlight.nix tests: fix occurences of deprecated "options" option 2024-03-30 14:21:21 +01:00
keymaps.nix modules/keymaps: add replace_keycodes keymap sub-option 2025-03-28 11:32:49 +01:00
lsp.nix modules/lsp: enable servers."*" by default 2025-05-01 00:36:41 +01:00
lua-loader.nix modules/lua-loader: use new 0.11 API for enabling/disabling 2025-04-01 16:03:03 +02:00
options.nix tests: fix occurences of deprecated "options" option 2024-03-30 14:21:21 +01:00
output.nix tests/modules/output: add tests for providers 2024-11-13 16:55:33 -03:00