forked from mirrors/nixpkgs
vimPlugins.completion-tabnine: link to TabNine binary
This commit is contained in:
parent
eac90229f6
commit
94e7c10c1e
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue