You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the FAQ and my bug is not listed there.
Description
Enabling the nvim-dap plugin with programs.nixvim.plugins.dap.enable=true; produces the following error when building the nixos configuration:
sudo nixos-rebuild test --show-trace --option eval-cache false
warning: Git tree '/home/[REDACTED]/.nixos-config' is dirty
building the system configuration...
warning: Git tree '/home/[REDACTED]/.nixos-config' is dirty
error: builder for '/nix/store/[REDACTED]-vimplugin-plugin-pack.drv' failed with exit code 1;
last 10 log lines:
> Sourcing vim-command-check-hook.sh
> Using vimCommandCheckHook
> Sourcing vim-gen-doc-hook
> Sourcing neovim-require-check-hook.sh
> Using neovimRequireCheckHook
> created 854 symlinks in user environment
> Executing vimPluginGenTags
> Building help tags
> Error detected while processing command line:
> E154: Duplicate tag "before" in file /nix/store/[REDACTED]-vimplugin-plugin-pack/./doc/mini-cursorword.txtFailed to build help tags!
For full logs, run 'nix log /nix/store/[REDACTED]-vimplugin-plugin-pack.drv'.
error: 1 dependencies of derivation '/nix/store/[REDACTED]-neovim-0.10.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/[REDACTED]-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/[REDACTED]-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/[REDACTED]-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/[REDACTED]-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/[REDACTED]-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/[REDACTED]-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/[REDACTED]-nixos-system-[REDACTED]-24.11.20241111.dc460ec.drv' failed to build
In the full log I have also this warning, I don't know if it is relevant for the bug:
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/[REDACTED]-vimplugin-plugin-pack.drv^*'
Minimal, Reproducible Example (MRE)
Just enable the nvim-dap plugin with programs.nixvim.plugins.dap.enable=true;. The nixpkg channel is unstable and the nixvim version is the following:
I had the same issue and it was related to the experimental option performance.combinePlugins.
nvim-dap and mini.nvim have a duplicated tag so one of them needs to be listed in the performance.combinePlugins.standalonePlugins option.
I don't know if listing one or the other gives better performance but it shouldn't be enough to be noticed.
If anyone comes across plugins like this that need to be isolated, it might be worth adding a warning to the plugin's documentation about potential conflicts with combinePlugins.
nvim-dap
unstable
unstable
Description
Enabling the nvim-dap plugin with
programs.nixvim.plugins.dap.enable=true;
produces the following error when building the nixos configuration:In the full log I have also this warning, I don't know if it is relevant for the bug:
Minimal, Reproducible Example (MRE)
Just enable the nvim-dap plugin with
programs.nixvim.plugins.dap.enable=true;
. The nixpkg channel is unstable and the nixvim version is the following:The text was updated successfully, but these errors were encountered: