Fix hash-table-p errors on 'doom build'
This commit is contained in:
parent
c801a70ec7
commit
35364f1dd1
1 changed files with 15 additions and 14 deletions
|
@ -120,6 +120,7 @@ declaration) or dependency thereof that hasn't already been."
|
|||
(straight--make-package-modifications-available))
|
||||
(if-let (built
|
||||
(doom-with-package-recipes recipes (package local-repo)
|
||||
(unless force-p
|
||||
;; Ensure packages with outdated files/bytecode are rebuilt
|
||||
(let ((build-dir (straight--build-dir package))
|
||||
(repo-dir (straight--repos-dir local-repo)))
|
||||
|
@ -133,7 +134,7 @@ declaration) or dependency thereof that hasn't already been."
|
|||
if (and (file-exists-p elc-file)
|
||||
(file-newer-than-file-p file elc-file))
|
||||
return t)))
|
||||
(puthash package t straight--packages-to-rebuild)))
|
||||
(puthash package t straight--packages-to-rebuild))))
|
||||
(straight-use-package (intern package))))
|
||||
(print! (success "Rebuilt %d package(s)") (length built))
|
||||
(print! (success "No packages need rebuilding"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue