mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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 New Issue
Block a user