1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-08-14 13:31:30 +02:00

installer: Replace run-command by invoke in newt/page.scm.

* gnu/installer/newt/page.scm (edit-file): Replace it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Josselin Poiret
2022-01-15 14:50:05 +01:00
committed by Mathieu Othacehe
parent dd5177a377
commit 7e743738c7
+2 -2
View File
@@ -22,6 +22,7 @@
#:use-module (gnu installer steps)
#:use-module (gnu installer utils)
#:use-module (gnu installer newt utils)
#:use-module (guix build utils)
#:use-module (guix i18n)
#:use-module (ice-9 i18n)
#:use-module (ice-9 match)
@@ -727,8 +728,7 @@ ITEMS when 'Ok' is pressed."
(newt-suspend)
;; Use Nano because it syntax-highlights Scheme by default.
;; TODO: Add a menu to choose an editor?
(run-command (list "/run/current-system/profile/bin/nano" file)
#:locale locale)
(invoke "nano" file)
(newt-resume))
(define* (run-file-textbox-page #:key