Fix references to comp-async-cu-done-hook

Was renamed upstream to native-comp-async-cu-done-functions at some
point.
This commit is contained in:
Henrik Lissner 2021-05-08 14:56:30 -04:00
parent 856f8b6aeb
commit 27e9c756ea

View file

@ -263,7 +263,7 @@ declaration) or dependency thereof that hasn't already been."
(print! (start "Installing packages...")) (print! (start "Installing packages..."))
(let ((pinned (doom-package-pinned-list))) (let ((pinned (doom-package-pinned-list)))
(print-group! (print-group!
(add-hook 'comp-async-cu-done-hook #'doom--native-compile-done-h) (add-hook 'native-comp-async-cu-done-functions #'doom--native-compile-done-h)
(if-let (built (if-let (built
(doom--with-package-recipes (doom-package-recipe-list) (doom--with-package-recipes (doom-package-recipe-list)
(recipe package type local-repo) (recipe package type local-repo)
@ -314,7 +314,7 @@ declaration) or dependency thereof that hasn't already been."
(or (if force-p :all straight--packages-to-rebuild) (or (if force-p :all straight--packages-to-rebuild)
(make-hash-table :test #'equal))) (make-hash-table :test #'equal)))
(recipes (doom-package-recipe-list))) (recipes (doom-package-recipe-list)))
(add-hook 'comp-async-cu-done-hook #'doom--native-compile-done-h) (add-hook 'native-comp-async-cu-done-functions #'doom--native-compile-done-h)
(unless force-p (unless force-p
(straight--make-build-cache-available)) (straight--make-build-cache-available))
(if-let (built (if-let (built