3
0
Fork 0
forked from mirrors/nixpkgs

vimPlugins.completion-tabnine: link to TabNine binary

This commit is contained in:
Andrey Kuznetsov 2020-10-01 16:27:36 +03:00 committed by Jon
parent eac90229f6
commit 94e7c10c1e

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