Fix #2373: bring back package pinning

This needs some serious refactoring...
This commit is contained in:
Henrik Lissner 2020-01-25 03:49:42 -05:00
parent de6732b4ae
commit a9402cfb55
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
128 changed files with 647 additions and 620 deletions

View file

@ -124,6 +124,11 @@ missing) and shouldn't be deleted.")
;; We handle it ourselves
straight-fix-org nil)
(defadvice! doom--read-pinned-packages-a (orig-fn &rest args)
"Read from `doom-pinned-packages' on top of straight's lockfiles."
:around #'straight--lockfile-read-all
(append (apply orig-fn args) doom-pinned-packages))
;;