Merge pull request #173918 from tssm/neovim-darwin-coreservices

neovim: Pass CoreServices when building on darwin
This commit is contained in:
Artturi 2022-05-22 14:15:21 +03:00 committed by GitHub
commit 3efe7235dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

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

View file

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