This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 5429b9a1f9 installer: run-wifi-page: Handle null ‘service-items’.
5429b9a1f9 is described below
commit 5429b9a1f9756d78564e905bcc9721bf9bd73976
Author: Hilton Chain <[email protected]>
AuthorDate: Tue Feb 10 20:15:46 2026 +0800
installer: run-wifi-page: Handle null ‘service-items’.
Previously, the installer crashes after pressing enter on "No wifi
detected".
* gnu/installer/newt/wifi.scm (run-wifi-page): Scan wifi when connecting
with
null ‘service-items’.
Change-Id: I04c57f2bdf0cc7f5928e154fce48e54d1ecb0cfa
Merges: #6287
---
gnu/installer/newt/wifi.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/installer/newt/wifi.scm b/gnu/installer/newt/wifi.scm
index 8a87cbdf4b..0f7b44e342 100644
--- a/gnu/installer/newt/wifi.scm
+++ b/gnu/installer/newt/wifi.scm
@@ -233,11 +233,12 @@ force a wifi scan."
(lambda ()
(when (eq? exit-reason 'exit-component)
(cond
- ((components=? argument scan-button)
- (run-wifi-scan-page)
- (run-wifi-page))
((components=? argument exit-button)
(abort-to-prompt 'installer-step 'abort))
+ ((or (components=? argument scan-button)
+ (null? service-items))
+ (run-wifi-scan-page)
+ (run-wifi-page))
((components=? argument listbox)
(let ((result (connect-wifi-service listbox service-items)))
(unless result