mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-20 18:38:12 +00:00
fixup! flake: expose blink-cmp package
This commit is contained in:
parent
de04aca9bc
commit
52c697a2b4
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
rustPlatform,
|
||||
hostPlatform,
|
||||
vimUtils,
|
||||
git,
|
||||
src,
|
||||
version,
|
||||
}: let
|
||||
|
@ -13,6 +14,7 @@
|
|||
# TODO: remove this if plugin stops using nightly rust
|
||||
RUSTC_BOOTSTRAP = true;
|
||||
};
|
||||
nativeBuildInputs = [git];
|
||||
cargoLock = {
|
||||
lockFile = "${src}/Cargo.lock";
|
||||
allowBuiltinFetchGit = true;
|
||||
|
@ -26,6 +28,9 @@ in
|
|||
vimUtils.buildVimPlugin {
|
||||
pname = "blink-cmp";
|
||||
inherit version src;
|
||||
|
||||
# blink references a repro.lua which is placed outside the lua/ directory
|
||||
doCheck = false;
|
||||
preInstall = ''
|
||||
mkdir -p target/release
|
||||
ln -s ${blink-fuzzy-lib}/lib/libblink_cmp_fuzzy.${libExt} target/release/libblink_cmp_fuzzy.${libExt}
|
||||
|
|
Loading…
Add table
Reference in a new issue