core: fix not found packages with dotspacemacs-install-packages all

Temporary fix, need to find the root cause.
This commit is contained in:
syl20bnr 2018-01-25 00:08:46 -05:00
parent 89933acbde
commit 59d8be19d8

View file

@ -1233,11 +1233,14 @@ PREDICATE is an additional expression that eval to a boolean."
packages
(lambda (x)
(let ((pkg (configuration-layer/get-package x)))
(and (cfgl-package-distant-p pkg)
(or (null usedp)
(cfgl-package-used-p pkg))
(or (null predicate)
(eval predicate)))))))
(if pkg
(and (cfgl-package-distant-p pkg)
(or (null usedp)
(cfgl-package-used-p pkg))
(or (null predicate)
(eval predicate)))
(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."