mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-22 03:18:01 +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,
|
rustPlatform,
|
||||||
hostPlatform,
|
hostPlatform,
|
||||||
vimUtils,
|
vimUtils,
|
||||||
|
git,
|
||||||
src,
|
src,
|
||||||
version,
|
version,
|
||||||
}: let
|
}: let
|
||||||
|
@ -13,6 +14,7 @@
|
||||||
# TODO: remove this if plugin stops using nightly rust
|
# TODO: remove this if plugin stops using nightly rust
|
||||||
RUSTC_BOOTSTRAP = true;
|
RUSTC_BOOTSTRAP = true;
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = [git];
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = "${src}/Cargo.lock";
|
lockFile = "${src}/Cargo.lock";
|
||||||
allowBuiltinFetchGit = true;
|
allowBuiltinFetchGit = true;
|
||||||
|
@ -26,6 +28,9 @@ in
|
||||||
vimUtils.buildVimPlugin {
|
vimUtils.buildVimPlugin {
|
||||||
pname = "blink-cmp";
|
pname = "blink-cmp";
|
||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
|
# blink references a repro.lua which is placed outside the lua/ directory
|
||||||
|
doCheck = false;
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p target/release
|
mkdir -p target/release
|
||||||
ln -s ${blink-fuzzy-lib}/lib/libblink_cmp_fuzzy.${libExt} target/release/libblink_cmp_fuzzy.${libExt}
|
ln -s ${blink-fuzzy-lib}/lib/libblink_cmp_fuzzy.${libExt} target/release/libblink_cmp_fuzzy.${libExt}
|
||||||
|
|
Loading…
Add table
Reference in a new issue