diff --git a/pkgs/applications/editors/vim/plugins/non-generated/blink-pairs/default.nix b/pkgs/applications/editors/vim/plugins/non-generated/blink-pairs/default.nix index 52ac17aaf698..43a2bbc54c0b 100644 --- a/pkgs/applications/editors/vim/plugins/non-generated/blink-pairs/default.nix +++ b/pkgs/applications/editors/vim/plugins/non-generated/blink-pairs/default.nix @@ -23,7 +23,12 @@ let cargoHash = "sha256-Cn9zRsQkBwaKbBD/JEpFMBOF6CBZTDx7fQa6Aoic4YU="; - env.RUSTC_BOOTSTRAP = 1; + env = { + RUSTC_BOOTSTRAP = 1; + + # 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"; + }; # NOTE: Disabled upstream too doCheck = false;