Unverified Commit 2cf7612f authored by Austin Horstman's avatar Austin Horstman
Browse files

vimPlugins.fff-nvim: fix darwin build

parent f3384f38
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -2,11 +2,12 @@
  lib,
  fetchFromGitHub,
  rustPlatform,
  pkg-config,
  perl,
  nix-update-script,
  openssl,
  perl,
  pkg-config,
  stdenv,
  vimUtils,
  nix-update-script,
}:
let
  version = "65aeacf-unstable-2025-11-03";
@@ -35,6 +36,9 @@ let
      RUSTC_BOOTSTRAP = 1; # We need rust unstable features

      OPENSSL_NO_VENDOR = 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