core: remove support for quelpa-use-package
Unfortunately spacemacs is not designed for installation at use-package call time. For use-package to be called a package must already be installed, so I will continue on the initial plan, that is providing the quelpa recipe at the <layer>-packages list level. This is no bigdeal, this is basically moving :quelpa from use-package to <layer>-packages variables. Moreover it makes more sense to define package property at declaration time instead of initialization (at least in spacemacs world where installation is decoupled from configuration).
This commit is contained in:
parent
dd58e524c6
commit
aa090635fa
|
@ -130,18 +130,6 @@ initialization."
|
||||||
quelpa-persistent-cache-file (expand-file-name "cache" quelpa-dir)
|
quelpa-persistent-cache-file (expand-file-name "cache" quelpa-dir)
|
||||||
quelpa-update-melpa-p nil)
|
quelpa-update-melpa-p nil)
|
||||||
(spacemacs/load-or-install-package 'quelpa t)
|
(spacemacs/load-or-install-package 'quelpa t)
|
||||||
;; be sure that quelpa-use-package is in load-path
|
|
||||||
;; if this package make it to MELPA we will be able
|
|
||||||
;; to just use load-or-install-package
|
|
||||||
(let ((dir (spacemacs//get-package-directory 'quelpa-use-package)))
|
|
||||||
(if dir
|
|
||||||
(add-to-list 'load-path dir)
|
|
||||||
(spacemacs-buffer/append
|
|
||||||
"(Bootstrap) Installing quelpa-use-package...\n")
|
|
||||||
(quelpa '(quelpa-use-package
|
|
||||||
:fetcher github
|
|
||||||
:repo "quelpa/quelpa-use-package"))))
|
|
||||||
(require 'quelpa-use-package)
|
|
||||||
;; inject use-package hooks for easy customization of
|
;; inject use-package hooks for easy customization of
|
||||||
;; stock package configuration
|
;; stock package configuration
|
||||||
(setq use-package-inject-hooks t)
|
(setq use-package-inject-hooks t)
|
||||||
|
|
Loading…
Reference in a new issue