me
/
guix
Archived
1
0
Fork 0

gnu: gtksourceview: Fix build.

* gnu/packages/gtk.scm (gtksourceview)[#:phases]<pre-check>: Set “GDK_BACKEND”
and “GTK_A11Y”.
master
Liliana Marie Prikler 2023-05-13 22:27:57 +02:00
parent b90738f02c
commit 00d8a41164
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 5 additions and 0 deletions

View File

@ -616,6 +616,11 @@ printing and other features typical of a source code editor.")
;; Tests require a running X server.
(system (string-append Xvfb " :1 &"))
(setenv "DISPLAY" ":1")
;; Use an X11 setup to find the display.
(setenv "GDK_BACKEND" "x11")
;; Avoid spawning (and failing to connect to) the accessiblity
;; bus.
(setenv "GTK_A11Y" "none")
;; For the missing /etc/machine-id.
(setenv "DBUS_FATAL_WARNINGS" "0")))))))
(native-inputs