about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/plgs-pkgs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/nixpkgs/pkgs/plgs-pkgs/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/plgs-pkgs/default.nix b/sys/nixpkgs/pkgs/plgs-pkgs/default.nix
new file mode 100644
index 00000000..0f7cd485
--- /dev/null
+++ b/sys/nixpkgs/pkgs/plgs-pkgs/default.nix
@@ -0,0 +1,15 @@
+[
+  (final: prev:
+    prev.lib.composeManyExtensions [
+      (self: super: let
+        origin = import ./plugins {
+          inherit (super.vimUtils) buildVimPlugin;
+          inherit (super) lib fetchurl fetchgit;
+        };
+      in {
+        vimExtraPlugins = super.lib.makeExtensible (_: super.lib.recurseIntoAttrs origin);
+      })
+    ]
+    final
+    prev)
+]