~ruther/guix-local

957b73382b31622943db3d066dfedd706b6f19c4 — Alex Kost 10 years ago e2e3600
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.
1 files changed, 4 insertions(+), 3 deletions(-)

M emacs/guix-base.el
M emacs/guix-base.el => emacs/guix-base.el +4 -3
@@ 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)))