Unverified Commit 876a05aa authored by Austin Horstman's avatar Austin Horstman
Browse files

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: default avatarAustin Horstman <khaneliman12@gmail.com>
parent fdee0771
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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