gnu: gtksourceview: Fix build.
* gnu/packages/gtk.scm (gtksourceview)[#:phases]<pre-check>: Set “GDK_BACKEND” and “GTK_A11Y”.master
parent
b90738f02c
commit
00d8a41164
|
@ -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
|
||||
|
|
Reference in New Issue