vimPlugins.blink-cmp: fix darwin build

Follow the linker args that upstream uses for darwin
https://github.com/saghen/blink.cmp/blob/main/.cargo/config.toml

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman
2025-11-23 12:43:46 -06:00
parent fdee0771f7
commit 876a05aa44
@@ -26,6 +26,8 @@ let
env = {
# TODO: remove this if plugin stops using nightly rust
RUSTC_BOOTSTRAP = true;
# Allow undefined symbols on Darwin - they will be provided by Neovim's LuaJIT runtime
RUSTFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-C link-arg=-undefined -C link-arg=dynamic_lookup";
};
};
in