Open
Description
Field | Description |
---|---|
Plugin | nvim-dap |
Nixpkgs | unstable |
Home Manager | unstable |
- 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:
"nixvim": {
"inputs": {
"devshell": "devshell",
"flake-compat": "flake-compat_3",
"flake-parts": "flake-parts",
"git-hooks": "git-hooks",
"home-manager": "home-manager_2",
"nix-darwin": "nix-darwin",
"nixpkgs": [
"nixpkgs"
],
"nuschtosSearch": "nuschtosSearch",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1731707185,
"narHash": "sha256-IfA3x0eL4Be/7hvdvGSnT8fgiXz7GL3PtjGw3BH68gM=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "be455f7f2714ce3479ae5bb662a03bd450f45793",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixvim",
"type": "github"
}
},