 It also improves performance by allowing the build cache to be
 pruned."
   (setq straight--profile-cache-valid t)
+  (setq straight--profile-cache-validated t)
   ;; We can safely prune the build cache if init succeeded.
   (dolist (package (hash-table-keys straight--build-cache))
     (unless (gethash package straight--recipe-cache)

by the function `straight-declare-init-succeeded', and is set
back to nil when the straight.el bootstrap is run or
`straight-use-package' is invoked.")

;;;;; Recipe repositories


  (interactive "P")
  (when (or force
            (and (or straight--profile-cache-valid
                     (and (not straight--profile-cache-validated)
                          (y-or-n-p
                           (concat "Have you installed any packages "
                                   "since your init-file was last loaded?")))
                     (ignore
                      (message (concat "Caches are outdated, aborting "
                                       "(please reload your init-file)"))))
                 (let ((unpushed-recipes
                        (straight-push-all
                         (lambda (package)
