installer: Use define instead of let at top-level.

* gnu/installer.scm (installer-program): Improve readability by using
define at top-level.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Josselin Poiret 2022-01-15 14:49:54 +01:00 committed by Mathieu Othacehe
parent 0d37a5df7e
commit 4a68a00c8b
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -412,8 +412,8 @@ (define installer-builder
;; verbose.
(terminal-width 200)
(let* ((current-installer newt-installer)
(steps (#$steps current-installer)))
(define current-installer newt-installer)
(define steps (#$steps current-installer))
((installer-init current-installer))
(catch #t
@ -455,7 +455,7 @@ (define results
error-file report key args)))
(primitive-exit 1)))
((installer-exit current-installer)))))))
((installer-exit current-installer))))))
(program-file
"installer"