           nil-value)
       plist)))
 
-(defun doom-package-build-time (package)
-  "TODO"
-  (car (gethash (symbol-name package) straight--build-cache)))
-
 (defun doom-package-dependencies (package &optional recursive _noerror)
   "Return a list of dependencies for a package."
   (let ((deps (nth 1 (gethash (symbol-name package) straight--build-cache))))

                    (eq type 'built-in))
          (push recipe recipes))))
    (nreverse recipes)))

(defun doom-package-state-list ()
  "TODO"
  (let (alist)
    (dolist (recipe (hash-table-values straight--repo-cache) alist)
      (cl-destructuring-bind (&key local-repo type &allow-other-keys)
          recipe
        (when (and local-repo (not (eq type 'built-in)))
          (setf (alist-get local-repo alist nil nil #'equal)
                (straight-vc-get-commit type local-repo)))))))


;;

                           nil 'remove #'equal)
                (unless unpin pin)))))))

(defun doom-package-recipe-list ()
  "Return straight recipes for non-builtin packages with a local-repo."
  (let (recipes)
