summaryrefslogtreecommitdiffstats
path: root/pkgs/vim/default.nix
blob: 20e845add92ae7d82e1f3a97ed186ad929266d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
self: super: let
  inherit (super) lib;
  mylib = import ../../lib/pure.nix {
    inherit lib;
  };
in {
  tv = super.tv // {
    vim = {
      makePlugin = outPath: outPath // { inherit outPath; };
      makeRuntimePath =
        lib.concatMapStringsSep "," (builtins.getAttr "outPath");
    };
    vimPlugins = mylib.mapNixDir (path: self.callPackage path {}) ./.;
  };
}