Skip to content

Build failure: vim (when neovim is broken) #363307

Open
@MostAwesomeDude

Description

Custom vim requires neovim-unwrapped.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have neovim-unwrapped not build (mark manually broken, build on exotic arch, etc.)
  2. Customize vim with anything from vimPlugins, e.g.
pkgs.vim-full.customize { vimrcConfig.packages.custom.start = [ pkgs.vimPlugins.vim-nix ]; }

vim will fail to build because neovim-unwrapped fails to build.

Build log

Build Log
error: builder for '/nix/store/9h0lwcf7g0ld24lvqadl2n47i0vb4axx-neovim-unwrapped-0.9.5.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/4p95wfdhbm9b33pgjhn8rlgqj5vhv17c-neovim-require-check-hook.drv' failed to build
error: 1 dependencies of derivation '/nix/store/f0dnbqhgw6qrr9lf5x3h5npwvszlx31s-vimplugin-vim-nix-2024-02-24.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y1vbizf37bj4lcxqjdlfllxwllz7j4n3-packdir-start.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xwpxl589dgj9q4iq5006rwz1d3aw1mff-vim-pack-dir.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ba7nr8q40y2aawsh39d0icpdw3pr1hnr-vimrc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9zn989bzb00g9xwrmbjc73a2j7cvqxas-vim-bin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qgp7zb8915h3v86zryrqk8k39bdgh4a3-vim.drv' failed to build

Additional context

I'm currently cross-compiling for armv7l-linux (Raspberry Pi 1), so I know that this configuration is unsupported and I am not asking for the build to work. Rather, I'm surprised that, if neovim-unwrapped cannot build, then vim cannot be customized with any plugins, and this dependency is not architecture-dependent.

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.60, NixOS, 24.05 (Uakari), 24.05.20241112.689fed1
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.8
  • nixpkgs: /nix/store/8f039qdj69z78ls6rf9xli6rc638g36x-source

Notify maintainers

@teto @NixOS/neovim


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions