From 957b73382b31622943db3d066dfedd706b6f19c4 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Wed, 25 Nov 2015 13:25:00 +0300 Subject: [PATCH] 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 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emacs/guix-base.el b/emacs/guix-base.el index 14ea3d4458..a2bd5bf7f2 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)))