guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: emacs: In 'run-with-store' call, specify the guile-for-build.


From: Ludovic Courtès
Subject: 01/01: emacs: In 'run-with-store' call, specify the guile-for-build.
Date: Fri, 16 Jan 2015 20:25:17 +0000

civodul pushed a commit to branch master
in repository guix.

commit 4ad2e76a143e8f25b79ba90b7a77e81a69e38a07
Author: Ludovic Courtès <address@hidden>
Date:   Fri Jan 16 21:24:52 2015 +0100

    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 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/emacs/guix-main.scm b/emacs/guix-main.scm
index ae3a492..b1662fb 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]