Compare commits

..

No commits in common. "33e9666e4d1e988019b170d4974e75206137b8c3" and "cb4d8340a172e95069b05f8e62f1c93e9ded859b" have entirely different histories.

View file

@ -1,14 +1,16 @@
{
nix-update-script,
openssl,
pkg-config,
rustPlatform,
stdenv,
vimPlugins,
vimUtils,
makeWrapper,
pkgs,
version,
src,
...
pins,
}: let
inherit version src;
avante-nvim-lib = rustPlatform.buildRustPackage {
@ -43,7 +45,20 @@ in
pname = "avante-nvim";
inherit version src;
doCheck = false;
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"
]);
postInstall = let
ext = stdenv.hostPlatform.extensions.sharedLibrary;