From 52c697a2b4a2306ff0b521397b0ceff4236bdad4 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Wed, 8 Jan 2025 14:07:03 +0100 Subject: [PATCH] fixup! flake: expose blink-cmp package --- modules/wrapper/build/packages/blink-cmp.nix | 5 +++++ 1 file changed, 5 insertions(+) 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}