mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
avante-nvim, Remove not necessary dependencies in plugin build
This commit is contained in:
parent
cb4d8340a1
commit
1c744f778d
1 changed files with 2 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue