Refactor package! & package init system
- Reduces `package!`'s side-effects and moves them to `doom-initialize-packages`. - Adds :pin to `package!` for commit pinning (but it hasn't been implemented just yet -- needs more testing)! - Adds `doom-pinned-packages` variable - Now overrides straight recipes using `straight-override-recipe` instead of in-house merging.
This commit is contained in:
parent
f49913fc9e
commit
125561eb03
2 changed files with 52 additions and 32 deletions
|
@ -167,8 +167,7 @@ If ALL-P, gather packages unconditionally across all modules, including disabled
|
|||
ones."
|
||||
(let ((doom-interactive-mode t)
|
||||
(doom-modules (doom-modules))
|
||||
doom-packages
|
||||
doom-disabled-packages)
|
||||
doom-packages)
|
||||
(doom--read-module-packages-file
|
||||
(doom-path doom-core-dir "packages.el") all-p t)
|
||||
(let ((private-packages (doom-path doom-private-dir "packages.el")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue