fix(cli): doom-packages-ensure: ensure local packages are built
If the package is local, the local-repo has absolute local file path, and straight-modified-dir will return as it is, which always exists. Fix it by passing package only to straight-modified-dir.
This commit is contained in:
parent
5e9e569649
commit
b121be1c90
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ list remains lean."
|
|||
(setq want-native-compile nil))
|
||||
(and (or want-byte-compile want-native-compile)
|
||||
(or (file-newer-than-file-p repo-dir build-dir)
|
||||
(file-exists-p (straight--modified-dir (or local-repo package)))
|
||||
(file-exists-p (straight--modified-dir package))
|
||||
(cl-loop with outdated = nil
|
||||
for file in (doom-files-in build-dir :match "\\.el$" :full t)
|
||||
if (or (if want-byte-compile (doom-packages--elc-file-outdated-p file))
|
||||
|
|
Loading…
Reference in a new issue