diff options
author | Andrey Kuznetsov <fear@loathing.in> | 2020-10-01 16:27:36 +0300 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-10-01 10:32:22 -0700 |
commit | 94e7c10c1eea03a74b25b6f32bf292739a706b0b (patch) | |
tree | ada901dd398de9b8cda01206682b238f0633e02a /pkgs/misc/vim-plugins/overrides.nix | |
parent | eac90229f655f10a05a2002c36de2f1d4b9a6abe (diff) | |
download | nixpkgs-94e7c10c1eea03a74b25b6f32bf292739a706b0b.tar nixpkgs-94e7c10c1eea03a74b25b6f32bf292739a706b0b.tar.gz nixpkgs-94e7c10c1eea03a74b25b6f32bf292739a706b0b.tar.bz2 nixpkgs-94e7c10c1eea03a74b25b6f32bf292739a706b0b.tar.lz nixpkgs-94e7c10c1eea03a74b25b6f32bf292739a706b0b.tar.xz nixpkgs-94e7c10c1eea03a74b25b6f32bf292739a706b0b.tar.zst nixpkgs-94e7c10c1eea03a74b25b6f32bf292739a706b0b.zip |
vimPlugins.completion-tabnine: link to TabNine binary
Diffstat (limited to 'pkgs/misc/vim-plugins/overrides.nix')
-rw-r--r-- | pkgs/misc/vim-plugins/overrides.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index 3874a85c191..97f506b7f7e 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -9,6 +9,7 @@ , gobject-introspection, glib, wrapGAppsHook , substituteAll , languagetool +, tabnine , Cocoa, CoreFoundation, CoreServices , buildVimPluginFrom2Nix , nodePackages @@ -603,6 +604,15 @@ self: super: { ln -s ${maple-bin}/bin/maple $target/bin/maple ''; }); + + completion-tabnine = super.completion-tabnine.overrideAttrs(old: { + buildInputs = [ tabnine ]; + + postFixup = '' + mkdir $target/binaries + ln -s ${tabnine}/bin/TabNine $target/binaries/TabNine_$(uname -s) + ''; + }); } // ( let nodePackageNames = [ |