fix(neovim): override libvterm dep with nixpkgs-staging to fix build

This commit is contained in:
matt1432 2023-10-30 10:30:11 -04:00
parent 5a0f40a2b2
commit 6e5406c8c7
4 changed files with 89 additions and 70 deletions
common/home/neovim

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: let
{ pkgs, lib, nixpkgs-staging, neovim-flake, ... }: let
# installs a vim plugin from git with a given tag / branch
plugin = owner: repo: rev: hash: pkgs.vimUtils.buildVimPlugin {
pname = "${lib.strings.sanitizeDerivationName repo}";
@ -30,7 +30,10 @@ in {
neovim = {
enable = true;
package = pkgs.neovim-nightly;
# Temp fix https://github.com/nix-community/neovim-nightly-overlay/issues/332
package = neovim-flake.packages.x86_64-linux.default.override {
libvterm-neovim = nixpkgs-staging.legacyPackages.x86_64-linux.libvterm-neovim;
};
withNodeJs = true;
withPython3 = true;
withRuby = false;