diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2022-10-14 17:28:27 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-10-20 10:50:50 +0200 |
commit | 96bb00d20336f43fac2c42662e4b1d300e624738 (patch) | |
tree | eb2af74ea2671aac1825fa94b88a875fdfcd26ac /gnu/installer/final.scm | |
parent | 4716cea6256523a8ecf90a426d675bfb7620f3e4 (diff) |
installer: Run the "guix system init" command in a PTY.
Fixes: <https://issues.guix.gnu.org/55360>
* gnu/installer/utils.scm (run-external-command-with-handler/tty): New
procedure.
(run-external-command-with-line-hooks, run-command): Add a TTY? argument.
* gnu/installer/final.scm (install-system): Call run-command with TTY?
argument set to #true.
Diffstat (limited to 'gnu/installer/final.scm')
-rw-r--r-- | gnu/installer/final.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm index 3f6dacc490..044f79372b 100644 --- a/gnu/installer/final.scm +++ b/gnu/installer/final.scm @@ -211,7 +211,7 @@ or #f. Return #t on success and #f on failure." (setenv "PATH" "/run/current-system/profile/bin/") - (set! ret (run-command install-command))) + (set! ret (run-command install-command #:tty? #t))) (lambda () ;; Restart guix-daemon so that it does no keep the MNT namespace ;; alive. |