vimPlugins.completion-tabnine: link to TabNine binary

gstqt5
Andrey Kuznetsov 2020-10-01 16:27:36 +03:00 committed by Jon
parent eac90229f6
commit 94e7c10c1e
1 changed files with 10 additions and 0 deletions

View File

@ -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 = [