summaryrefslogtreecommitdiff
path: root/gnu/installer
diff options
context:
space:
mode:
authorJosselin Poiret <dev@jpoiret.xyz>2022-01-15 14:50:05 +0100
committerMathieu Othacehe <othacehe@gnu.org>2022-02-02 16:46:43 +0100
commited6567abbf01a3e554c7a1d7ece31ab5f6f39ea6 (patch)
treea9bcc92fa45f4febd260fcbb0ff497910e347b28 /gnu/installer
parentdad9a1c0b2fe4bfeb271e229ddfefb3d894d314d (diff)
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>
Diffstat (limited to 'gnu/installer')
-rw-r--r--gnu/installer/newt/page.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/installer/newt/page.scm b/gnu/installer/newt/page.scm
index 9c684a3899f..695c7d875f7 100644
--- a/gnu/installer/newt/page.scm
+++ b/gnu/installer/newt/page.scm
@@ -22,6 +22,7 @@
22 #:use-module (gnu installer steps) 22 #:use-module (gnu installer steps)
23 #:use-module (gnu installer utils) 23 #:use-module (gnu installer utils)
24 #:use-module (gnu installer newt utils) 24 #:use-module (gnu installer newt utils)
25 #:use-module (guix build utils)
25 #:use-module (guix i18n) 26 #:use-module (guix i18n)
26 #:use-module (ice-9 i18n) 27 #:use-module (ice-9 i18n)
27 #:use-module (ice-9 match) 28 #:use-module (ice-9 match)
@@ -727,8 +728,7 @@ ITEMS when 'Ok' is pressed."
727 (newt-suspend) 728 (newt-suspend)
728 ;; Use Nano because it syntax-highlights Scheme by default. 729 ;; Use Nano because it syntax-highlights Scheme by default.
729 ;; TODO: Add a menu to choose an editor? 730 ;; TODO: Add a menu to choose an editor?
730 (run-command (list "/run/current-system/profile/bin/nano" file) 731 (invoke "nano" file)
731 #:locale locale)
732 (newt-resume)) 732 (newt-resume))
733 733
734(define* (run-file-textbox-page #:key 734(define* (run-file-textbox-page #:key