diff --git a/emacs/guix-main.scm b/emacs/guix-main.scm
index ae3a4922497af2285b62f32d8fe07088c386d206..b1662fbb809978986f526ea37525c04827ba9084 100644
--- a/emacs/guix-main.scm
+++ b/emacs/guix-main.scm
@@ -853,7 +853,9 @@ (define* (process-package-actions
     (unless (and (null? install) (null? remove))
       (with-store store
         (let* ((derivation (run-with-store store
-                             (profile-derivation new-manifest)))
+                             (mbegin %store-monad
+                               (set-guile-for-build (default-guile))
+                               (profile-derivation new-manifest))))
                (derivations (list derivation))
                (new-profile (derivation->output-path derivation)))
           (set-build-options store