aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-16 21:24:52 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-16 21:24:52 +0100
commit4ad2e76a143e8f25b79ba90b7a77e81a69e38a07 (patch)
tree479277780841b84ace02a0553927784d8931e7be /emacs
parente48977e755767232a3ce3f0dc3f9d44c735c5ffe (diff)
downloadguix-4ad2e76a143e8f25b79ba90b7a77e81a69e38a07.tar
guix-4ad2e76a143e8f25b79ba90b7a77e81a69e38a07.tar.gz
emacs: In 'run-with-store' call, specify the guile-for-build.
This fixes a regression introduced in commit e87f059. * emacs/guix-main.scm (process-package-actions): Add call to 'set-guile-for-build' in monadic expression.
Diffstat (limited to 'emacs')
-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