From 4ad2e76a143e8f25b79ba90b7a77e81a69e38a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 16 Jan 2015 21:24:52 +0100 Subject: [PATCH] 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. --- emacs/guix-main.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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