guix-commits
[Top][All Lists]
Advanced

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

01/06: emacs: Fix 'guix-apply-manifest'.


From: Alex Kost
Subject: 01/06: emacs: Fix 'guix-apply-manifest'.
Date: Sun, 06 Dec 2015 09:55:00 +0000

alezost pushed a commit to branch master
in repository guix.

commit 957b73382b31622943db3d066dfedd706b6f19c4
Author: Alex Kost <address@hidden>
Date:   Wed Nov 25 13:25:00 2015 +0300

    emacs: Fix 'guix-apply-manifest'.
    
    * emacs/guix-base.el (guix-apply-manifest): Use 'guix-command' instead
      of 'guix-package' to prevent REPL exit if 'leave' happens.  Expand
      profile and manifest file names, as relative file names lead to an
      error.
---
 emacs/guix-base.el |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/emacs/guix-base.el b/emacs/guix-base.el
index 14ea3d4..a2bd5bf 100644
--- a/emacs/guix-base.el
+++ b/emacs/guix-base.el
@@ -1087,9 +1087,10 @@ FILE.  With a prefix argument, also prompt for PROFILE."
                               file profile)))
     (guix-eval-in-repl
      (guix-make-guile-expression
-      'guix-package
-      (concat "--profile=" profile)
-      (concat "--manifest=" file))
+      'guix-command
+      "package"
+      (concat "--profile="  (expand-file-name profile))
+      (concat "--manifest=" (expand-file-name file)))
      operation-buffer)))
 
 



reply via email to

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