diff --git a/modules/init-lib.el b/modules/init-lib.el index a37039ef..3a66adec 100644 --- a/modules/init-lib.el +++ b/modules/init-lib.el @@ -135,7 +135,11 @@ see Info node `(emacs) Package Installation'." ((version-list-< builtin-version archive-version))) (use-package-pin-package package ,archive-name) (condition-case-unless-debug err - (let ((package-install-upgrade-built-in t)) + (let ((package-install-upgrade-built-in t) + (load-path (cons (expand-file-name + (package-desc-full-name archive-desc) + package-user-dir) + load-path))) (package-install-from-archive archive-desc) t) (error