summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/guix-main.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/guix-main.scm b/emacs/guix-main.scm
index ae3a492249..b1662fbb80 100644
--- a/emacs/guix-main.scm
+++ b/emacs/guix-main.scm
@@ -853,7 +853,9 @@ OUTPUTS is a list of package outputs (may be an empty list)."
(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