diff --git a/pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix b/pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix index 124f49cfd93c..b967afe3b921 100644 --- a/pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix +++ b/pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix @@ -37,6 +37,9 @@ let buildFeatures = [ "luajit" ]; + # Allow undefined symbols on Darwin - they will be provided by Neovim's LuaJIT runtime + env.RUSTFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-C link-arg=-undefined -C link-arg=dynamic_lookup"; + checkFlags = [ # Disabled because they access the network. "--skip=test_hf"