neovim: Pass CoreServices when building on darwin

This commit is contained in:
Tae Selene Sandoval Murgan 2022-05-22 09:16:22 +02:00
parent 0fc7fd8959
commit f7e2353e0b
2 changed files with 3 additions and 1 deletions

View file

@ -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 ]
; ;

View file

@ -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;
}; };