guix: luanti-build-system: Ignore audio errors.

* guix/build/luanti-build-system.scm (check)[error?]: Ignore errors related to
the initialization of the audio subsystem.
This commit is contained in:
Liliana Marie Prikler 2025-06-29 17:44:50 +02:00
parent e45a6c3302
commit 4fe31fd51e
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -190,7 +190,10 @@ auth_backend = sqlite3
;; When the player has joined the server, stop luanti.
(define (error? line)
(and (string? line)
(string-contains line ": ERROR[")))
(string-contains line ": ERROR[")
;; Ignore audio errors.
;; TODO: start a sound server reliably…
(not (string-contains line "Audio: Global Initialization:"))))
(define (stop? line)
(and (string? line)
(string-contains line "ACTION[Server]: singleplayer [127.0.0.1] joins game.")))