neovim: reference neovim-unwrapped lua
less opportunities to mess the reference up by referencing unwrapped's lua directly.
This commit is contained in:
parent
1b2dc84c81
commit
3f98e2bbc6
1 changed files with 11 additions and 4 deletions
|
|
@ -414,12 +414,19 @@ in
|
|||
) allPlugins;
|
||||
|
||||
# remove attributes not understood by nixpkgs' "makeVimPackageInfo"
|
||||
suppressIncompatibleConfig = p: lib.filterAttrs
|
||||
(n: v: builtins.elem n ["plugin" "optional" "config"])
|
||||
(if p.type != "viml" then p // { config = null; } else p);
|
||||
suppressIncompatibleConfig =
|
||||
p:
|
||||
lib.filterAttrs (
|
||||
n: v:
|
||||
builtins.elem n [
|
||||
"plugin"
|
||||
"optional"
|
||||
"config"
|
||||
]
|
||||
) (if p.type != "viml" then p // { config = null; } else p);
|
||||
|
||||
# Lua & Python Package Resolution
|
||||
luaPackages = cfg.finalPackage.unwrapped.lua.pkgs;
|
||||
luaPackages = cfg.package.lua.pkgs;
|
||||
resolvedExtraLuaPackages = cfg.extraLuaPackages luaPackages;
|
||||
|
||||
# Wrapper Arguments Construction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue