     (with-temp-file doom-packages-file
       (insert ";;; -*- lexical-binding:t -*-\n"
               ";; This file was autogenerated by `doom|refresh-cache', DO NOT EDIT!\n")
-      (prin1 `(setq Info-directory-list ',Info-directory-list
+      (prin1 `(setq load-path ',load-path
+                    Info-directory-list ',Info-directory-list
                     doom-disabled-packages ',doom-disabled-packages
                     package-activated-list ',package-activated-list)
              (current-buffer)))))

            (if (package-installed-p package)
                (message "✓ Installed %s" package)
              (error "✕ Couldn't install %s" package)))
          (message "Installing core packages...done")))))
  ;; initialize Doom core
  (require 'core-lib)
  (require 'core-os)
  (unless doom-init-p
    ;; Cache important packages.el state
    (doom|refresh-cache))
  (unless noninteractive

;; no-byte-compile: t
;; no-update-autoloads: t
;; End:\n")
                  (quiet! (eval-buffer buf))
                  (save-buffer)
                  (message "Done!"))
              ('error
