avante-nvim, Remove not necessary dependencies in plugin build

This commit is contained in:
Martin Treml 2025-06-06 17:35:57 +02:00
commit 1c744f778d

View file

@ -1,16 +1,14 @@
{
nix-update-script,
openssl,
pkg-config,
rustPlatform,
stdenv,
vimPlugins,
vimUtils,
makeWrapper,
pkgs,
version,
src,
pins,
...
}: let
inherit version src;
avante-nvim-lib = rustPlatform.buildRustPackage {
@ -45,20 +43,7 @@ in
pname = "avante-nvim";
inherit version src;
dependencies =
[vimPlugins.nvim-treesitter]
++ (builtins.map (name: let
pin = pins.${name};
in
pkgs.fetchFromGitHub {
inherit (pin.repository) owner repo;
rev = pin.revision;
sha256 = pin.hash;
}) [
"dressing-nvim"
"plenary-nvim"
"nui-nvim"
]);
doCheck = false;
postInstall = let
ext = stdenv.hostPlatform.extensions.sharedLibrary;