neovim: Pass CoreServices when building on darwin

main
Tae Selene Sandoval Murgan 2 years ago
parent 0fc7fd8959
commit f7e2353e0b
  1. 3
      pkgs/applications/editors/neovim/default.nix
  2. 1
      pkgs/top-level/all-packages.nix

@ -3,6 +3,7 @@
, unibilium, gperf , unibilium, gperf
, libvterm-neovim , libvterm-neovim
, tree-sitter , tree-sitter
, CoreServices
, glibcLocales ? null, procps ? null , glibcLocales ? null, procps ? null
# now defaults to false because some tests can be flaky (clipboard etc), see # now defaults to false because some tests can be flaky (clipboard etc), see
@ -60,7 +61,7 @@ in
neovimLuaEnv neovimLuaEnv
tree-sitter tree-sitter
unibilium unibilium
] ++ optional stdenv.isDarwin libiconv ] ++ optionals stdenv.isDarwin [ libiconv CoreServices ]
++ optionals doCheck [ glibcLocales procps ] ++ optionals doCheck [ glibcLocales procps ]
; ;

@ -30269,6 +30269,7 @@ with pkgs;
wrapNeovimUnstable = callPackage ../applications/editors/neovim/wrapper.nix { }; wrapNeovimUnstable = callPackage ../applications/editors/neovim/wrapper.nix { };
wrapNeovim = neovim-unwrapped: lib.makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped); wrapNeovim = neovim-unwrapped: lib.makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped);
neovim-unwrapped = callPackage ../applications/editors/neovim { neovim-unwrapped = callPackage ../applications/editors/neovim {
CoreServices = darwin.apple_sdk.frameworks.CoreServices;
lua = luajit; lua = luajit;
}; };

Loading…
Cancel
Save