Skip to content

Commit

Permalink
core: fix not found packages with dotspacemacs-install-packages all
Browse files Browse the repository at this point in the history
Temporary fix, need to find the root cause.
  • Loading branch information
syl20bnr committed Jan 25, 2018
1 parent 65f148b commit 3b5339d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions core/core-configuration-layer.el
Original file line number Diff line number Diff line change
Expand Up @@ -1028,12 +1028,15 @@ return both used and unused packages."
packages
(lambda (x)
(let ((pkg (configuration-layer/get-package x)))
(and (not (memq (oref pkg :location) '(built-in site local)))
(not (stringp (oref pkg :location)))
(or (null usedp)
(and (not (null (oref pkg :owners)))
(not (oref pkg :excluded))
(cfgl-package-enabledp pkg t))))))))
(if pkg
(and (not (memq (oref pkg :location) '(built-in site local)))
(not (stringp (oref pkg :location)))
(or (null usedp)
(and (not (null (oref pkg :owners)))
(not (oref pkg :excluded))
(cfgl-package-enabledp pkg t))))
(spacemacs-buffer/warning "Cannot find package for %s" x)
nil)))))

(defun configuration-layer//get-private-layer-dir (name)
"Return an absolute path to the private configuration layer string NAME."
Expand Down

0 comments on commit 3b5339d

Please sign in to comment.