            ;; invalidate the relevant entry in the recipe lookup
            ;; cache.
            (straight--make-build-cache-available)
-           (let* ((build (plist-member recipe :build))
-                  (no-build
+           (let* ((no-build
                    (or
                     ;; Remember that `no-build' can come both from the
                     ;; arguments to `straight-use-package' and from

using `completing-read'. With prefix argument FROM-UPSTREAM,
merge not just from primary remote but also from upstream (for
forked packages)."
  (interactive (list (straight--select-package "Merge package" nil 'installed)
                     current-prefix-arg))
  (let ((recipe (gethash package straight--recipe-cache)))
    (and (straight-vc-merge-from-remote recipe)

                    ;; to build packages which have no local
                    ;; repositories.
                    (null local-repo)
                    (straight--build-disabled-p recipe)
                    (if (straight--functionp no-build)
                        (funcall no-build package)
                      no-build)))
