all repos — nixfiles @ fdb646b04e0e7fc49b9f20ae4f54e1d41f582f9d

System and user configuration, managed by nix and home-manager

overlays/extra-packages.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
self: super: {
  vimPlugins = super.vimPlugins.extend (final: prev: {
    coc-tabnine =
      let
        inherit (super) tabnine;
      in
      prev.coc-tabnine.overrideAttrs {
        buildInputs = [ tabnine ];

        postFixup = ''
          mkdir -p $target/binaries/${tabnine.version}
          ln -s ${tabnine}/bin/ $target/binaries/${tabnine.version}/${tabnine.passthru.platform}
        '';
      };
  });
}