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.
This commit is contained in:
parent
e2e3600fe8
commit
957b73382b
|
@ -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)))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue