self: super: let inherit (super) lib mylib; in { tv = super.tv // { vim = { makePlugin = outPath: outPath // { inherit outPath; }; makeRuntimePath = lib.concatMapStringsSep "," (builtins.getAttr "outPath"); }; vimPlugins = mylib.mapNixDir (path: self.callPackage path {}) ./.; }; }