diff --git a/modules/wrapper/build/packages/blink-cmp.nix b/modules/wrapper/build/packages/blink-cmp.nix index 7e7ef290..002269b9 100644 --- a/modules/wrapper/build/packages/blink-cmp.nix +++ b/modules/wrapper/build/packages/blink-cmp.nix @@ -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}