mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 4 additions and 3 deletions
|
@ -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 a new issue