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 6 additions and 7 deletions

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;

View file

@ -1,6 +1,4 @@
{ neovim-nightly-overlay, ... }:
{
{ ... }: {
imports = [
./dracula-theme.nix
./regreet.nix
@ -26,7 +24,5 @@
(final: prev: {
coloryou = final.callPackage ./pkgs/coloryou/default.nix {};
})
neovim-nightly-overlay.overlay
];
}

Binary file not shown.

BIN
flake.nix

Binary file not shown.