diff --git a/flake.nix b/flake.nix index 90a2651..dc54b31 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,7 @@ fennel-ls = import ./packages/fennel-ls.nix { inherit pkgs lib; }; headscale-ui = import ./packages/headscale-ui.nix { inherit pkgs lib; }; lexical = import ./packages/lexical.nix { inherit pkgs lib; }; - neovim-nightly = import ./packages/neovim-nightly.nix { inherit (inputs'.neovim-flake.packages) neovim; inherit lib; }; + neovim-nightly = import ./packages/neovim-nightly.nix { inherit (inputs'.neovim-flake.packages) neovim; inherit pkgs lib; }; nitter-unstable = import ./packages/nitter-unstable.nix { inherit pkgs lib; }; q = import ./packages/q.nix { inherit pkgs lib; }; rexit = import ./packages/rexit.nix { inherit pkgs lib; }; diff --git a/packages/neovim-nightly.nix b/packages/neovim-nightly.nix index 35e2d87..a3fc5e7 100644 --- a/packages/neovim-nightly.nix +++ b/packages/neovim-nightly.nix @@ -1,3 +1,13 @@ -{ neovim, lib, ... }: +{ neovim, pkgs, lib, ... }: -neovim +let + latest-libvterm = pkgs.libvterm-neovim.overrideAttrs (_: rec { + version = "0.3.3"; + + src = pkgs.fetchurl { + url = "https://github.com/neovim/deps/raw/12c9dcf1d823ac4acbccf494c93c4774a87db11d/opt/libvterm-${version}.tar.gz"; + sha256 = "09156f43dd2128bd347cbeebe50d9a571d32c64e0cf18d211197946aff7226e0"; + }; + }); +in +neovim.override { libvterm-neovim = latest-libvterm; }