Fixes <https://issues.guix.gnu.org/59922>. Previously progress bars and related things would be buffered by 'run-external-command-with-line-hooks' until \n is read. * gnu/installer/utils.scm (run-external-command-with-line-hooks): Use 'read-delimited' rather than 'get-line'. Pass 'concat as the last argument. (%display-line-hook): Remove. (run-command): Use 'display' instead of '%display-line-hook'. (%syslog-line-hook): Add "\n" when LINE doesn't end in \n. (%installer-log-line-hook): Do not add an extra newline. (installer-log-line): Add an extra newline. |
||
---|---|---|
.. | ||
aux-files | ||
newt | ||
connman.scm | ||
dump.scm | ||
final.scm | ||
hardware.scm | ||
hostname.scm | ||
keymap.scm | ||
locale.scm | ||
newt.scm | ||
parted.scm | ||
proxy.scm | ||
record.scm | ||
services.scm | ||
steps.scm | ||
substitutes.scm | ||
tests.scm | ||
timezone.scm | ||
user.scm | ||
utils.scm |