From 35c5fef705308b8278f9e3135fd5aa919d9e0497 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 12 Dec 2020 21:45:43 +0100 Subject: TabNine: move binaries to XDG data directory --- user/emacs/init.el | 2 +- user/settings/tabnine.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/user/emacs/init.el b/user/emacs/init.el index f55a7a71..517670e2 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -519,7 +519,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package company-tabnine :commands (company-tabnine) :after (company) - :config (setq company-tabnine-binaries-folder "~/.local/tabnine") + :config (setq company-tabnine-binaries-folder "~/.local/share/tabnine") :general ("" #'company-tabnine-call-other-backends "" #'company-tabnine-call-other-backends) :init (progn diff --git a/user/settings/tabnine.nix b/user/settings/tabnine.nix index b9382b65..3417e336 100644 --- a/user/settings/tabnine.nix +++ b/user/settings/tabnine.nix @@ -90,7 +90,7 @@ in { }; }; - home.file.".local/tabnine/${version}/${target}/TabNine" = { + xdg.dataFile."/tabnine/${version}/${target}/TabNine" = { executable = true; source = (pkgs.fetchurl { url = "https://update.tabnine.com/${version}/${target}/TabNine"; -- cgit 1.4.1