Improve comment

This commit is contained in:
Marien Zwart 2024-03-29 22:39:10 +11:00
parent bbfa0b0823
commit c055f2eb9d
No known key found for this signature in database

View file

@ -15,6 +15,10 @@ it. Just skip it entirely."
(defcli! build-profile-for-nix-build () (defcli! build-profile-for-nix-build ()
"Write a Doom profile." "Write a Doom profile."
;; HACK: this initializes enough of straight (particularly ;; HACK: this initializes enough of straight (particularly
;; straight--build-cache) to make Doom work (I hope...). ;; straight--build-cache, which doom-profile--generate-package-autoloads hits)
;; to make Doom work.
;;
;; TODO: remove doom-profile--generate-package-autoloads?
;; Because there are no straight-built packages, it generates an empty file.
(straight-prune-build-cache) (straight-prune-build-cache)
(doom-profile-generate)) (doom-profile-generate))