Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vimPlugins.nvim-java: failed to install with error Alias lua-async-await is still in vim-plugins #374866

Open
3 tasks done
felissedano opened this issue Jan 18, 2025 · 0 comments
Labels
0.kind: bug Something is broken

Comments

@felissedano
Copy link

Nixpkgs version

  • Unstable (25.05)

Describe the bug

I am trying to setup nvim-java plugin on neovim with nixCats. However, when I try to run home-manager switch --flake . it fails with error: Alias lua-async-await is still in vim-plugins. I then tried to install it directly in home-manager with home.packages and it shows me the same error. Removing the package or installing a different vim plugin and it works fine.

I searched up lua-async-await and it appears to be a vim plugin as well, which is packaged in the unstable channel without a maintainer. I try to install it out of curiosity and it also failed to install. I assume the problem is either in the nvim-java package or lua-async-await package.

Steps to reproduce

add vimPlugins.nvim-java in home.packages inside home.nix file
run home-manager switch --flake .

I am using unstable as an overlay, so for me it looks like:

home.packages = with pkgs; [
 ...
] ++ [unstable.pkgs.vimPlugins.nvim-java];

Expected behaviour

nvim-java plugin gets installed and does not throw error.

Screenshots

No response

Relevant log output

error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'home-manager-generation'
         whose name attribute is located at /nix/store/awsvw44jla0idziiks2zwgzslfd2dczn-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'
         at /nix/store/awsvw44jla0idziiks2zwgzslfd2dczn-source/pkgs/build-support/trivial-builders/default.nix:59:17:
           58|         enableParallelBuilding = true;
           59|         inherit buildCommand name;
             |                 ^
           60|         passAsFile = [ "buildCommand" ]

       … while evaluating the option `home.activation.installPackages.data':

       … while evaluating definitions from `/nix/store/cd0q2vk9vqwjg9rcilymm4x8f4n673zi-source/modules/home-environment.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Alias lua-async-await is still in vim-plugins

Additional context

I am running nixos 24.11 with unstable 25.05 as an overlay. Everything neovim related packages are installed with the unstable packages.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.71, NixOS, 24.11 (Vicuna), 24.11.20250115.e24b4c0
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • channels(root): "nixos-24.05"
  • nixpkgs: /nix/store/awsvw44jla0idziiks2zwgzslfd2dczn-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@felissedano felissedano added the 0.kind: bug Something is broken label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant