mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-19 16:48:43 +00:00
Compare commits
No commits in common. "33e9666e4d1e988019b170d4974e75206137b8c3" and "cb4d8340a172e95069b05f8e62f1c93e9ded859b" have entirely different histories.
33e9666e4d
...
cb4d8340a1
1 changed files with 17 additions and 2 deletions
|
|
@ -1,14 +1,16 @@
|
||||||
{
|
{
|
||||||
|
nix-update-script,
|
||||||
openssl,
|
openssl,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
vimPlugins,
|
||||||
vimUtils,
|
vimUtils,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
pkgs,
|
pkgs,
|
||||||
version,
|
version,
|
||||||
src,
|
src,
|
||||||
...
|
pins,
|
||||||
}: let
|
}: let
|
||||||
inherit version src;
|
inherit version src;
|
||||||
avante-nvim-lib = rustPlatform.buildRustPackage {
|
avante-nvim-lib = rustPlatform.buildRustPackage {
|
||||||
|
|
@ -43,7 +45,20 @@ in
|
||||||
pname = "avante-nvim";
|
pname = "avante-nvim";
|
||||||
inherit version src;
|
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
|
postInstall = let
|
||||||
ext = stdenv.hostPlatform.extensions.sharedLibrary;
|
ext = stdenv.hostPlatform.extensions.sharedLibrary;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue