diff --git a/flake.nix b/flake.nix index 738524c..cac3a07 100644 --- a/flake.nix +++ b/flake.nix @@ -60,7 +60,7 @@ }; flake = { overlays.default = final: prev: let - lib = final.lib; + inherit (final) lib; in { mk-luarc = { # list of plugins that have a /lua directory @@ -73,12 +73,7 @@ disabled-diagnostics ? [], }: let pluginPackages = - map ( - x: - if x ? plugin - then x.plugin - else x - ) + map (x: x.plugin or x) plugins; partitions = builtins.partition (plugin: plugin.vimPlugin