neovim-unwrapped: move overrides to package.nix
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
cmake,
|
||||
gettext,
|
||||
libuv,
|
||||
lua,
|
||||
lua5_1,
|
||||
luajit,
|
||||
pkg-config,
|
||||
unibilium,
|
||||
utf8proc,
|
||||
@@ -25,6 +26,11 @@
|
||||
fish ? null,
|
||||
python3 ? null,
|
||||
}:
|
||||
|
||||
let
|
||||
lua = if lib.meta.availableOn stdenv.hostPlatform luajit then luajit else lua5_1;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (
|
||||
finalAttrs:
|
||||
let
|
||||
|
||||
@@ -11612,10 +11612,7 @@ with pkgs;
|
||||
# more usecases when wrapping neovim. The interface is being actively worked on
|
||||
# so expect breakage. use wrapNeovim instead if you want a stable alternative
|
||||
wrapNeovimUnstable = callPackage ../applications/editors/neovim/wrapper.nix { };
|
||||
wrapNeovim = neovim-unwrapped: makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped);
|
||||
neovim-unwrapped = callPackage ../by-name/ne/neovim-unwrapped/package.nix {
|
||||
lua = if lib.meta.availableOn stdenv.hostPlatform luajit then luajit else lua5_1;
|
||||
};
|
||||
wrapNeovim = neovim-unwrapped: lib.makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped);
|
||||
|
||||
neovimUtils = callPackage ../applications/editors/neovim/utils.nix {
|
||||
lua = lua5_1;
|
||||
|
||||
Reference in New Issue
Block a user